HolidayManager: Fix CME

This commit is contained in:
samczsun 2016-10-10 09:28:07 -04:00
parent 49c5df6e68
commit 873e93747e

View File

@ -303,6 +303,7 @@ public class HolidayManager implements Listener
return;
specialBlockBreak(event.getPlayer(), event.getClickedBlock());
_active.remove(event.getClickedBlock());
}
private void specialBlockBreak(Player player, final Block block)
@ -310,8 +311,6 @@ public class HolidayManager implements Listener
if (!_active.contains(block))
return;
_active.remove(block);
block.getWorld().playEffect(block.getLocation(), Effect.STEP_SOUND, type.getBlockType());
block.setType(Material.AIR);