-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
-
05.07 18:17:49 [Server] Server thread/INFO This server is running CraftBukkit version git-Spigot-ccb012a-4309566 (MC: 1.16.1) (Implementing API version 1.16.1-R0.1-SNAPSHOT)
-
Yes
When piglins toss out an item The EntityDropItemEvent is not fired.
Example code in a listener:
@EventHandler public void onEntityDrop(EntityDropItemEvent e) { System.out.println("Drop fired: " + e.getEntity().getType().name()); if(e.getEntity() instanceof Piglin) { Item item = e.getItemDrop(); System.out.println("Barter drop? " + item.getType().name()); } }
Neither debug message fires when a piglin tosses out an item.