diff options
author | jomo <github@jomo.tv> | 2014-08-08 05:42:03 +0200 |
---|---|---|
committer | jomo <github@jomo.tv> | 2014-08-08 05:42:03 +0200 |
commit | 5361e0d8db1579d318ffdcb370b64a4728bfb1f2 (patch) | |
tree | d74e1f941f1d161dc037ac0f13c1a6558095e13e /damnspam.py | |
parent | d0acf1bd3604450f67fc1cc4729f70de6906179f (diff) |
move line to correct position
Diffstat (limited to 'damnspam.py')
-rw-r--r-- | damnspam.py | 2 |
1 files changed, 1 insertions, 1 deletions
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!") |