needed to update some code with the cannon item location changing. also removed unused imports.

This commit is contained in:
NewGarbo 2016-01-15 07:00:39 +00:00
parent f78c469875
commit a554f1b7c6
4 changed files with 1 additions and 7 deletions

View File

@ -4,7 +4,6 @@ import java.io.File;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Set;
import java.util.TimeZone;

View File

@ -1,12 +1,8 @@
package mineplex.game.clans.clans.siege;
import org.bukkit.Material;
import org.bukkit.inventory.ItemStack;
import org.bukkit.plugin.java.JavaPlugin;
import mineplex.core.MiniPlugin;
import mineplex.core.common.util.C;
import mineplex.core.itemstack.ItemBuilder;
import mineplex.game.clans.clans.ClansManager;
import mineplex.game.clans.clans.siege.outpost.OutpostManager;

View File

@ -5,7 +5,6 @@ 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>

View File

@ -237,7 +237,7 @@ public class Outpost implements Listener
@EventHandler
public void onBlockPlace(BlockPlaceEvent event)
{
if (event.getItemInHand().isSimilar(SiegeManager.CANNON_ITEM))
if (event.getItemInHand().isSimilar(Cannon.CANNON_ITEM))
{
if (_host.spawnCannon(event.getPlayer(), event.getBlock().getLocation()))
{