summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDico200 <dico.karssiens@gmail.com>2015-11-22 17:52:54 +0100
committerDico200 <dico.karssiens@gmail.com>2015-11-22 17:52:54 +0100
commit274ce42fc8face712f381c791c691b6897239f83 (patch)
tree114cd2490c62edbcb8dc4198616259cc4f52900b
parent030b32f86a1c24ceb06cb744fc20dbd26c7b68b6 (diff)
Block break fix infinity
-rw-r--r--serversigns.py2
1 files changed, 1 insertions, 1 deletions
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"))