Hello, I would like to know how to listen for someone taking something from a creative inventory and putting it into a chest. Thanks in advance , Trevor
Code (Java): @EventHandler public void onClick(InventoryClickEvent e) { if (e.getWhoClicked() instanceof Player) { Player p = (Player) e.getWhoClicked(); ItemStack clicked = e.getCurrentItem(); if (e.getSlotType() == SlotType.CONTAINER) { if (p.getGameMode() == GameMode.CREATIVE) { if (e.getInventory().getType() == InventoryType.PLAYER) { // whatever } } } } } I don't think he means creative inventory as in "The creative mode inventory, with only 9 QUICKBAR slots and nothing else.", but the player inventory if the player is in creative mode.