Removed unneeded permission check from signalstrength.py... again xD

This commit is contained in:
Dico
2015-11-03 19:16:35 +01:00
parent aa86881f5e
commit 7282bf63f6

View File

@@ -109,10 +109,6 @@ def get_entire_container(container):
helpSubcmd = True,
senderLimit = 0)
def on_signalstrength_command(sender, command, label, args):
#Sender has to be in creative and if in Trusted world, they have to be Trusted+. Any ranks above trusted inherit groups.trusted.
if (not is_creative(sender)) or (sender.getWorld().getName() == "Trusted" and not is_rank(sender, "trusted")):
return "&cYou do not have permission to use that command in this world"
if len(args) > 0 and args[0].lower() in ("default", "defaults", "setdefaults"):
strength, item_type, item_data = get_data(sender, args[1:])