From 5b6d5664e4159235441e667ebb64b1b54cfaf9f1 Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Fri, 3 Nov 2017 06:58:57 +1100 Subject: [PATCH] Fix fireworks being spawnable in other plots --- .../main/java/com/plotsquared/bukkit/listeners/PlayerEvents.java | 1 + 1 file changed, 1 insertion(+) diff --git a/Bukkit/src/main/java/com/plotsquared/bukkit/listeners/PlayerEvents.java b/Bukkit/src/main/java/com/plotsquared/bukkit/listeners/PlayerEvents.java index 577b72694..f620e4695 100644 --- a/Bukkit/src/main/java/com/plotsquared/bukkit/listeners/PlayerEvents.java +++ b/Bukkit/src/main/java/com/plotsquared/bukkit/listeners/PlayerEvents.java @@ -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;