Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (e.getInventory().getType() == InventoryType.CRAFTING) {
- System.out.println("check1");
- if (e.getRawSlot() > 38 && e.getRawSlot() < 45) {
- e.setCancelled(true);
- //DO STUFF
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement