Fixed timing out. Yay. I'm done. G'night

This commit is contained in:
Mysticate 2015-10-16 00:00:08 -04:00
parent b15b81a7e2
commit b8eb924ffa

View File

@ -115,14 +115,14 @@ public class PerkHammerThrow extends Perk implements IThrown
if (item != null)
item.remove();
itemIterator.remove();
Player player = _thrown.get(item);
itemIterator.remove();
if (!Manager.IsAlive(player))
continue;
_thrown.get(item).getInventory().addItem(ItemStackFactory.Instance.CreateStack(Material.DIAMOND_AXE, (byte)0, 1, F.item("Thor Hammer")));
player.getInventory().addItem(ItemStackFactory.Instance.CreateStack(Material.DIAMOND_AXE, (byte)0, 1, F.item("Thor Hammer")));
}
}
}