From 5361e0d8db1579d318ffdcb370b64a4728bfb1f2 Mon Sep 17 00:00:00 2001 From: jomo Date: Fri, 8 Aug 2014 05:42:03 +0200 Subject: [PATCH] move line to correct position --- damnspam.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/damnspam.py b/damnspam.py index 54cbc24..7df9cb6 100644 --- a/damnspam.py +++ b/damnspam.py @@ -109,11 +109,11 @@ def on_block_break(event): removing_input = True test_event = BlockBreakEvent(block, sender) server.getPluginManager().callEvent(test_event) + removing_input = False if test_event.isCancelled(): event.setCancelled(True) msg(sender, "&cYou are not allowed to remove this input") return True - removing_input = False inputs.pop(pos_str) # remove save_inputs() msg(sender, "&eSuccessfully removed this input!")