diff --git a/BauSystem_Main/src/de/steamwar/bausystem/world/RegionListener.java b/BauSystem_Main/src/de/steamwar/bausystem/world/RegionListener.java index 306a9f1..35425ad 100644 --- a/BauSystem_Main/src/de/steamwar/bausystem/world/RegionListener.java +++ b/BauSystem_Main/src/de/steamwar/bausystem/world/RegionListener.java @@ -117,8 +117,7 @@ public class RegionListener implements Listener { if(event.getAction() != Action.RIGHT_CLICK_BLOCK || !event.getClickedBlock().getType().name().contains("SIGN") || !event.getPlayer().isSneaking() || - event.getItem() == null || - event.getItem().getType() != Material.AIR) + (event.getItem() != null && event.getItem().getType() != Material.AIR)) return; Player player = event.getPlayer();