HolidayManager: Fix CME
This commit is contained in:
parent
49c5df6e68
commit
873e93747e
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user