mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-29 08:36:45 +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();
|
Material handType = hand.getType();
|
||||||
lb = new BukkitLazyBlock(PlotBlock.get((short) handType.getId(), (byte) 0));
|
lb = new BukkitLazyBlock(PlotBlock.get((short) handType.getId(), (byte) 0));
|
||||||
switch (handType) {
|
switch (handType) {
|
||||||
|
case FIREWORK:
|
||||||
case MONSTER_EGG:
|
case MONSTER_EGG:
|
||||||
case MONSTER_EGGS:
|
case MONSTER_EGGS:
|
||||||
eventType = PlayerBlockEventType.SPAWN_MOB;
|
eventType = PlayerBlockEventType.SPAWN_MOB;
|
||||||
|
Loading…
Reference in New Issue
Block a user