From 1602ad2185907543e19de100d0c8088150254c2a Mon Sep 17 00:00:00 2001 From: psrcek Date: Tue, 21 Jun 2016 21:46:48 +0200 Subject: Fix for bug, where you can shift click and toggle levers --- damnspam.py | 2 -- 1 file changed, 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) -- cgit v1.2.3