Fixed the mobarena.setup.addcontainer permission
This commit is contained in:
Binary file not shown.
@@ -1,6 +1,6 @@
|
|||||||
name: MobArena
|
name: MobArena
|
||||||
main: com.garbagemule.MobArena.MobArena
|
main: com.garbagemule.MobArena.MobArena
|
||||||
version: 0.94.3.21
|
version: 0.94.3.22
|
||||||
softdepend: [Spout,Permissions,MultiVerse,XcraftGate,Towny,Heroes,MagicSpells]
|
softdepend: [Spout,Permissions,MultiVerse,XcraftGate,Towny,Heroes,MagicSpells]
|
||||||
commands:
|
commands:
|
||||||
ma:
|
ma:
|
||||||
|
|||||||
@@ -1122,7 +1122,7 @@ public class MACommands implements CommandExecutor
|
|||||||
|
|
||||||
if (base.equals("addcontainer"))
|
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);
|
MAUtils.tellPlayer(sender, Msg.MISC_NO_ACCESS);
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user