diff options
author | jomo <github@jomo.tv> | 2014-06-29 18:28:13 +0200 |
---|---|---|
committer | jomo <github@jomo.tv> | 2014-06-29 18:28:13 +0200 |
commit | 15ed89098df5c259e46d4facef9a04736524b0a9 (patch) | |
tree | 0e97093b2edcf6c0b5ba2ba2d88bbd66aa3e50ab /cycle.py | |
parent | 327772b03b8152cbb0600e96a69e7eb2009ad3a1 (diff) |
fix typi
Diffstat (limited to 'cycle.py')
-rw-r--r-- | cycle.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |