needed to update some code with the cannon item location changing. also removed unused imports.
This commit is contained in:
parent
f78c469875
commit
a554f1b7c6
@ -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;
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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>
|
||||
|
@ -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()))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user