This commit is contained in:
Jonathan Williams 2014-11-25 13:26:30 -08:00
parent 484dfaaea9
commit d9c06e0fd3

View File

@ -19,7 +19,6 @@ import org.bukkit.event.player.PlayerPickupItemEvent;
import org.bukkit.util.Vector; import org.bukkit.util.Vector;
import mineplex.minecraft.game.classcombat.Class.IPvpClass.ClassType; import mineplex.minecraft.game.classcombat.Class.IPvpClass.ClassType;
import mineplex.core.antistack.AntiStack;
import mineplex.core.common.util.F; import mineplex.core.common.util.F;
import mineplex.core.common.util.UtilAction; import mineplex.core.common.util.UtilAction;
import mineplex.core.common.util.UtilEnt; import mineplex.core.common.util.UtilEnt;
@ -156,7 +155,6 @@ public class AxeThrow extends SkillActive implements IThrown
Player player = _thrown.remove(event.getItem()); Player player = _thrown.remove(event.getItem());
AntiStack.removeUID(event.getItem());
player.getInventory().addItem(event.getItem().getItemStack()); player.getInventory().addItem(event.getItem().getItemStack());
UtilInv.Update(event.getPlayer()); UtilInv.Update(event.getPlayer());
@ -190,7 +188,6 @@ public class AxeThrow extends SkillActive implements IThrown
if (item.getTicksLived() > 400 - level * 40) if (item.getTicksLived() > 400 - level * 40)
{ {
AntiStack.removeUID(item);
_thrown.get(item).getInventory().addItem(item.getItemStack()); _thrown.get(item).getInventory().addItem(item.getItemStack());
item.remove(); item.remove();
itemIterator.remove(); itemIterator.remove();