reset changing_input

This commit is contained in:
jomo
2014-08-08 04:33:27 +02:00
parent f751207865
commit 8ecae8fe23

View File

@@ -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