diff --git a/src/de/steamwar/misslewars/listener/ItemListener.java b/src/de/steamwar/misslewars/listener/ItemListener.java index 03304e6..275c99a 100644 --- a/src/de/steamwar/misslewars/listener/ItemListener.java +++ b/src/de/steamwar/misslewars/listener/ItemListener.java @@ -95,14 +95,12 @@ public class ItemListener extends BasicListener { if( clickedOn != null && event.getView().getTopInventory().getType() != InventoryType.CRAFTING && - event.getCurrentItem().getType() != Material.BOW && clicked == event.getWhoClicked().getInventory()) event.setCancelled(true); }else if ( clicked != event.getWhoClicked().getInventory() && clicked != null && clicked.getType() != InventoryType.PLAYER && - event.getCurrentItem().getType() != Material.BOW && event.getCursor() != null && event.getCursor().getType() != Material.AIR) event.setCancelled(true);