Fixed timing out. Yay. I'm done. G'night
This commit is contained in:
parent
b15b81a7e2
commit
b8eb924ffa
@ -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")));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user