Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class InventoryListener implements Listener
- {
- @EventHandler(priority=EventPriority.MONITOR)
- public void onClick1(InventoryClickEvent e) {
- if (!Util.fixColor(&2&lCRAFTING - STONIARKA).equalsIgnoreCase(e.getInventory().getName())) || (!Util.fixColor(&2&lCRAFTING - STONIARKA2).equalsIgnoreCase(e.getInventory().getName()))
- return;
- }
- e.setCancelled(true);
- }
Advertisement
Add Comment
Please, Sign In to add comment