private void handleItemCast(Player player, final SpellDef spell,
final int id, final Item affectedItem) {
player.setStatus(Action.CASTING_GITEM);
Instance.getDelayedEventHandler().add(
new WalkToPointEvent(player, affectedItem.getLocation(), 5,
true) {
public void arrived() {
owner.resetPath();
ActiveTile tile = world.getTile(location);
if (!canCast(owner) || !tile.hasItem(affectedItem)