diff --git a/Plugins/Mineplex.Game.Clans/src/mineplex/game/clans/clans/siege/SiegeManager.java b/Plugins/Mineplex.Game.Clans/src/mineplex/game/clans/clans/siege/SiegeManager.java index 8fbc15a52..a30fa5073 100644 --- a/Plugins/Mineplex.Game.Clans/src/mineplex/game/clans/clans/siege/SiegeManager.java +++ b/Plugins/Mineplex.Game.Clans/src/mineplex/game/clans/clans/siege/SiegeManager.java @@ -12,6 +12,7 @@ import mineplex.core.common.util.UtilInv; import mineplex.core.common.util.UtilPlayer; import mineplex.game.clans.clans.ClansManager; import mineplex.game.clans.clans.siege.cannon.Cannon; +import mineplex.game.clans.clans.siege.outpost.CommandSiegeSupplies; import mineplex.game.clans.clans.siege.outpost.OutpostManager; public class SiegeManager extends MiniPlugin @@ -27,6 +28,8 @@ public class SiegeManager extends MiniPlugin _clans = clans; _outpostManager = new OutpostManager(clans, this); + + addCommand(new CommandSiegeSupplies(_outpostManager)); } @EventHandler diff --git a/Plugins/Mineplex.Game.Clans/src/mineplex/game/clans/clans/siege/outpost/CommandSiegeSupplies.java b/Plugins/Mineplex.Game.Clans/src/mineplex/game/clans/clans/siege/outpost/CommandSiegeSupplies.java index 6a53b151e..b2bfedefd 100644 --- a/Plugins/Mineplex.Game.Clans/src/mineplex/game/clans/clans/siege/outpost/CommandSiegeSupplies.java +++ b/Plugins/Mineplex.Game.Clans/src/mineplex/game/clans/clans/siege/outpost/CommandSiegeSupplies.java @@ -13,7 +13,7 @@ public class CommandSiegeSupplies extends CommandBase { public CommandSiegeSupplies(OutpostManager plugin) { - super(plugin, Rank.CMOD, "siegesupplies"); + super(plugin, Rank.MODERATOR, "siege"); } @Override diff --git a/Plugins/Mineplex.Game.Clans/src/mineplex/game/clans/clans/siege/outpost/OutpostManager.java b/Plugins/Mineplex.Game.Clans/src/mineplex/game/clans/clans/siege/outpost/OutpostManager.java index 388a204f2..cdcf11c3f 100644 --- a/Plugins/Mineplex.Game.Clans/src/mineplex/game/clans/clans/siege/outpost/OutpostManager.java +++ b/Plugins/Mineplex.Game.Clans/src/mineplex/game/clans/clans/siege/outpost/OutpostManager.java @@ -47,8 +47,6 @@ public class OutpostManager extends MiniPlugin _clansManager = clansManager; _removalQueue = new ArrayList<>(); - - addCommand(new CommandSiegeSupplies(this)); } @EventHandler(priority = EventPriority.LOWEST)