SHARE
TWEET

Untitled

a guest Nov 14th, 2017 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @EventHandler
  2.     public void onIgnitionChamberItemMove(InventoryMoveItemEvent e) {
  3.         if(e.getInitiator().getName().equalsIgnoreCase(SlimefunItems.IGNITION_CHAMBER.getItemMeta().getDisplayName()) && e.getInitiator().getType() == InventoryType.HOPPER) {
  4.             e.setCancelled(true);
  5.         }
  6.     }
RAW Paste Data
Top