supplies command for sieges
This commit is contained in:
parent
f25c7b0277
commit
c524247777
@ -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
|
||||
|
@ -13,7 +13,7 @@ public class CommandSiegeSupplies extends CommandBase<OutpostManager>
|
||||
{
|
||||
public CommandSiegeSupplies(OutpostManager plugin)
|
||||
{
|
||||
super(plugin, Rank.CMOD, "siegesupplies");
|
||||
super(plugin, Rank.MODERATOR, "siege");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -47,8 +47,6 @@ public class OutpostManager extends MiniPlugin
|
||||
_clansManager = clansManager;
|
||||
|
||||
_removalQueue = new ArrayList<>();
|
||||
|
||||
addCommand(new CommandSiegeSupplies(this));
|
||||
}
|
||||
|
||||
@EventHandler(priority = EventPriority.LOWEST)
|
||||
|
Loading…
Reference in New Issue
Block a user