-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
None
-
None
-
OS: Windows and Linux
Java version: java version "17.0.1" 2021-10-19 LTS
Java(TM) SE Runtime Environment (build 17.0.1+12-LTS-39)
Java HotSpot(TM) 64-Bit Server VM (build 17.0.1+12-LTS-39, mixed mode, sharing)
-
This server is running CraftBukkit version 3728-Spigot-514cf03-15a3eac (MC: 1.19.4) (Implementing API version 1.19.4-R0.1-SNAPSHOT)
-
jukelooper
-
Yes
I have this block of code
@EventHandler public void onInventoryMoveItem(InventoryMoveItemEvent e) { if(!e.getItem().getType().isRecord()) return; if(!e.getDestination().getType().equals(InventoryType.JUKEBOX) && !e.getSource().getType().equals(InventoryType.JUKEBOX)) return; e.setCancelled(true); }
The event actually fires when I am still interacting with the hopper GUI, but as soon as I exit it and move the player a bit, the event stops firing and the music discs goes into the jukebox.
This only happens with jukeboxes.