From 794ff39b507c0dcc70563ea74af17a66d9a4f334 Mon Sep 17 00:00:00 2001 From: shillingp Date: Mon, 23 Jun 2014 22:59:59 +0000 Subject: [PATCH] changed inventory event to player event --- misc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()