Block break fix infinity

This commit is contained in:
Dico200
2015-11-22 17:52:54 +01:00
parent 030b32f86a
commit 274ce42fc8

View File

@@ -134,7 +134,7 @@ def svs_command(sender, command, label, args):
#------------------------ Sub commands that require the block to be a sign -------------------------------
if arg1 == "claim":
Validate.isTrue(not sign, signsMsg("The %s was already claimed" % signName))
Validate.isTrue(can_build2(block, player), signsMsg("You are not permitted to claim signs here"))
Validate.isTrue(can_build2(sender, block), signsMsg("You are not permitted to claim signs here"))
target = sender
if arg2:
Validate.isTrue(player.hasPermission("utils.serversigns.admin"), signsMsg("You are not authorized to claim signs for other players"))