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:
GJ 2013-01-18 09:41:46 -05:00
parent 2c78bac8f7
commit e3b3b7cfdb

View File

@ -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);