Merge branch 'Myst_HALLOWEEN'

This commit is contained in:
Cheese 2015-10-16 15:01:59 +11:00
commit 016cea15f3

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")));
}
}
}