mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 11:55:38 +01:00
Fix fireworks being spawnable in other plots
This commit is contained in:
parent
22429fc3e0
commit
5b6d5664e4
@ -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 New Issue
Block a user