remove cannon pickup feature

This commit is contained in:
Ben 2016-03-15 00:23:59 +00:00
parent 3ae89e12a8
commit 13bbcc51dc

View File

@ -47,7 +47,7 @@ public class Cannon extends SiegeWeapon
public Cannon(SiegeManager siegeManager, SiegeWeaponToken token)
{
super(1400, "Cannon", token, siegeManager.getClansManager(), siegeManager);
super(300, "Cannon", token, siegeManager.getClansManager(), siegeManager);
System.out.println("Siege> Loading Cannon from token " + token.UniqueId);
@ -369,17 +369,6 @@ public class Cannon extends SiegeWeapon
protected void handleLeftClick(Player player)
{
if (_rider == null && _ownerClan.isMember(player))
{
UtilPlayer.message(player, F.main("Clans", "You picked up your Cannon."));
player.getInventory().addItem(CANNON_ITEM);
kill();
return;
}
super.handleLeftClick(player);
}