Fixed the mobarena.setup.addcontainer permission
This commit is contained in:
1 parent
ad4d502618
commit
a31aa1ce0e
3 files changed
+2
-2
No files matched your search
@@ -1122,7 +1122,7 @@ public class MACommands implements CommandExecutor
|
||||
|
||||
if (base.equals("addcontainer"))
|
||||
{
|
||||
if (!(player && plugin.has(p, "mobarena.setup.addchest")) && !op)
|
||||
if (!(player && plugin.has(p, "mobarena.setup.addcontainer")) && !op)
|
||||
{
|
||||
MAUtils.tellPlayer(sender, Msg.MISC_NO_ACCESS);
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user