mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-25 02:04:44 +02:00
Useless check for air.
The block will always be replacing either air, water, or lava. The check for whether or not it's being tracked is sufficient.
This commit is contained in:
@ -67,7 +67,7 @@ public class EntityListener implements Listener {
|
||||
plugin.addToFallingBlockTracker(entityID, block);
|
||||
}
|
||||
|
||||
if (plugin.fallingBlockIsTracked(entityID) && block.getType() == Material.AIR) {
|
||||
if (plugin.fallingBlockIsTracked(entityID)) {
|
||||
mcMMO.placeStore.setFalse(plugin.getSourceBlock(entityID));
|
||||
mcMMO.placeStore.setTrue(block);
|
||||
plugin.removeFromFallingBlockTracker(entityID);
|
||||
|
Reference in New Issue
Block a user