From 274ce42fc8face712f381c791c691b6897239f83 Mon Sep 17 00:00:00 2001 From: Dico200 Date: Sun, 22 Nov 2015 17:52:54 +0100 Subject: Block break fix infinity --- serversigns.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serversigns.py b/serversigns.py index c26d4f8..3b32def 100644 --- a/serversigns.py +++ b/serversigns.py @@ -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")) -- cgit v1.2.3