From 82ac0044f627b2c42fd9a6a3186b591c9b0663e6 Mon Sep 17 00:00:00 2001 From: Brianna Date: Sun, 11 Aug 2019 13:35:06 -0400 Subject: [PATCH] spawn egg fix --- .../songoda/ultimatestacker/listeners/SpawnerListeners.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/com/songoda/ultimatestacker/listeners/SpawnerListeners.java b/src/main/java/com/songoda/ultimatestacker/listeners/SpawnerListeners.java index a1ea19b..dae30c1 100644 --- a/src/main/java/com/songoda/ultimatestacker/listeners/SpawnerListeners.java +++ b/src/main/java/com/songoda/ultimatestacker/listeners/SpawnerListeners.java @@ -53,10 +53,8 @@ public class SpawnerListeners implements Listener { || !event.getAction().equals(Action.RIGHT_CLICK_BLOCK)) return; - if (event.getItem() == null) { - event.setCancelled(true); + if (event.getItem() == null) return; - } Material itemType = event.getItem().getType(); Block block = event.getClickedBlock();