diff --git a/misc.py b/misc.py index 33b4012..6f49ec4 100644 --- a/misc.py +++ b/misc.py @@ -95,7 +95,7 @@ def onPlayerInteractEntity(event): # # Cycling around the item bar will switch between rows of the inventory # -@hook.event("inventory.PlayerItemHeldEvent", "normal") +@hook.event("player.PlayerItemHeldEvent", "normal") def onHeldEvent(event): player = event.getPlayer() prev_slot = event.getPreviousSlot()