summaryrefslogtreecommitdiff
path: root/misc.py
diff options
context:
space:
mode:
authorshillingp <p.shilling.ps@gmail.com>2014-06-23 22:59:59 +0000
committershillingp <p.shilling.ps@gmail.com>2014-06-23 22:59:59 +0000
commit794ff39b507c0dcc70563ea74af17a66d9a4f334 (patch)
treeb2ebd7674e0c71cfeef510c0d9efc9c36021ea27 /misc.py
parent09f2bc6e5e4a06ebdbfa81fe05b6f6df95786959 (diff)
changed inventory event to player event
Diffstat (limited to 'misc.py')
-rw-r--r--misc.py2
1 files changed, 1 insertions, 1 deletions
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()