moved cannon item to Cannon.java to be consistent with the outpost item being in Outpost.java

This commit is contained in:
NewGarbo 2016-01-15 06:59:18 +00:00
parent e0b7be0813
commit f78c469875
2 changed files with 6 additions and 2 deletions

View File

@ -12,8 +12,6 @@ import mineplex.game.clans.clans.siege.outpost.OutpostManager;
public class SiegeManager extends MiniPlugin public class SiegeManager extends MiniPlugin
{ {
public static final ItemStack CANNON_ITEM = new ItemBuilder(Material.IRON_BLOCK, 1).setRawTitle(C.cBlue + "Cannon").setLore(C.cWhite + "BOOM BABY!").build();
private ClansManager _clans; private ClansManager _clans;
private OutpostManager _outpostManager; private OutpostManager _outpostManager;

View File

@ -1,6 +1,7 @@
package mineplex.game.clans.clans.siege.cannon; package mineplex.game.clans.clans.siege.cannon;
import org.bukkit.Location; import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.entity.ArmorStand; import org.bukkit.entity.ArmorStand;
import org.bukkit.entity.Entity; import org.bukkit.entity.Entity;
import org.bukkit.event.EventHandler; import org.bukkit.event.EventHandler;
@ -8,11 +9,16 @@ import org.bukkit.event.HandlerList;
import org.bukkit.event.Listener; import org.bukkit.event.Listener;
import org.bukkit.event.entity.EntityDamageEvent; import org.bukkit.event.entity.EntityDamageEvent;
import org.bukkit.event.player.PlayerArmorStandManipulateEvent; import org.bukkit.event.player.PlayerArmorStandManipulateEvent;
import org.bukkit.inventory.ItemStack;
import mineplex.core.common.util.C;
import mineplex.core.itemstack.ItemBuilder;
import mineplex.game.clans.clans.siege.outpost.Outpost; import mineplex.game.clans.clans.siege.outpost.Outpost;
public class Cannon implements Listener public class Cannon implements Listener
{ {
public static final ItemStack CANNON_ITEM = new ItemBuilder(Material.IRON_BLOCK, 1).setRawTitle(C.cBlue + "Cannon").setLore(C.cWhite + "BOOM BABY!").build();
private Location _location; private Location _location;
private CannonState _state; private CannonState _state;