diff options
author | Dico <Dico200@users.noreply.github.com> | 2015-11-03 19:16:35 +0100 |
---|---|---|
committer | Dico <Dico200@users.noreply.github.com> | 2015-11-03 19:16:35 +0100 |
commit | 7282bf63f647fa217e6aa7d9a4f24050dacf850e (patch) | |
tree | 905852bbdf5017902e8c8727fa5c8d802b658dc1 | |
parent | aa86881f5eabe0a7471aadf73ee8a7b789e679dc (diff) |
Removed unneeded permission check from signalstrength.py... again xD
-rw-r--r-- | signalstrength.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/signalstrength.py b/signalstrength.py index c668b46..d51f35a 100644 --- a/signalstrength.py +++ b/signalstrength.py @@ -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:]) |