made /meow give you 64 cannons and 64 outposts
This commit is contained in:
parent
70444ff508
commit
e0b7be0813
@ -1,10 +1,12 @@
|
||||
package mineplex.game.clans.clans.siege.outpost;
|
||||
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
|
||||
import mineplex.core.command.CommandBase;
|
||||
import mineplex.core.common.Rank;
|
||||
import mineplex.game.clans.clans.siege.SiegeManager;
|
||||
import mineplex.game.clans.clans.siege.cannon.Cannon;
|
||||
|
||||
public class Meow extends CommandBase<OutpostManager>
|
||||
{
|
||||
@ -16,7 +18,13 @@ public class Meow extends CommandBase<OutpostManager>
|
||||
@Override
|
||||
public void Execute(Player caller, String[] args)
|
||||
{
|
||||
caller.getInventory().addItem(Outpost.OUTPOST_ITEM);
|
||||
caller.getInventory().addItem(SiegeManager.CANNON_ITEM);
|
||||
ItemStack outpost = new ItemStack(Outpost.OUTPOST_ITEM);
|
||||
ItemStack cannons = new ItemStack(Cannon.CANNON_ITEM);
|
||||
|
||||
outpost.setAmount(64);
|
||||
cannons.setAmount(64);
|
||||
|
||||
caller.getInventory().addItem(outpost);
|
||||
caller.getInventory().addItem(cannons);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user