From 8ecae8fe232da3eafff8a1c54224492dfab9e171 Mon Sep 17 00:00:00 2001 From: jomo Date: Fri, 8 Aug 2014 04:33:27 +0200 Subject: [PATCH] reset changing_input --- damnspam.py | 1 + 1 file changed, 1 insertion(+) diff --git a/damnspam.py b/damnspam.py index 069708a..cae8ec4 100644 --- a/damnspam.py +++ b/damnspam.py @@ -75,6 +75,7 @@ def on_dammnspam_command(sender, args): # test if player is allowed to build here test_event = BlockBreakEvent(target, sender) server.getPluginManager().callEvent(test_event) + changing_input = False if test_event.isCancelled(): msg(sender, "&cYou are not allowed to modify this input") return True