mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2024-12-23 00:15:06 +00:00
Fix fireworks being spawnable in other plots
This commit is contained in:
parent
22429fc3e0
commit
5b6d5664e4
1 changed files with 1 additions and 0 deletions
|
@ -1359,6 +1359,7 @@ public class PlayerEvents extends PlotListener implements Listener {
|
|||
Material handType = hand.getType();
|
||||
lb = new BukkitLazyBlock(PlotBlock.get((short) handType.getId(), (byte) 0));
|
||||
switch (handType) {
|
||||
case FIREWORK:
|
||||
case MONSTER_EGG:
|
||||
case MONSTER_EGGS:
|
||||
eventType = PlayerBlockEventType.SPAWN_MOB;
|
||||
|
|
Loading…
Reference in a new issue