diff options
author | psrcek <p.srcek@gmail.com> | 2016-06-21 21:46:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-21 21:46:48 +0200 |
commit | 1602ad2185907543e19de100d0c8088150254c2a (patch) | |
tree | b656af6750c234a2c6e929b5d9b8cfcaf2bbdba9 | |
parent | cebdb90d601cf4cb0889212cc804893a112f10e7 (diff) |
Fix for bug, where you can shift click and toggle levers
-rw-r--r-- | damnspam.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/damnspam.py b/damnspam.py index b3cbb0f..a81d3cf 100644 --- a/damnspam.py +++ b/damnspam.py @@ -173,8 +173,6 @@ def on_block_break(event): def on_interact(event): if (str(event.getAction()) == "RIGHT_CLICK_BLOCK") and not event.isCancelled(): sender = event.getPlayer() - if sender.isSneaking(): - return block = event.getClickedBlock() pos_str = location_str(block) data = inputs.get(pos_str) |