From 93f87a167d4336aea6e49370c93e0b18e2a55fda Mon Sep 17 00:00:00 2001 From: jomo Date: Sun, 29 Jun 2014 18:28:13 +0200 Subject: [PATCH] fix typi --- cycle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cycle.py b/cycle.py index d706d39..21b7022 100644 --- a/cycle.py +++ b/cycle.py @@ -44,7 +44,7 @@ def onCyclerCommand(sender, args): @hook.event("player.PlayerItemHeldEvent", "normal") def onSlotChange(event): player = event.getPlayer() - if str(player.getUniqueId()) not in no_cyclers and not player.isSneakng(): + if str(player.getUniqueId()) not in no_cyclers and not player.isSneaking(): prev_slot = event.getPreviousSlot() new_slot = event.getNewSlot() if (prev_slot == 0 and new_slot == 8): # left -> right