if (!player.getInventory().destroyItemByItemId(item, count))
{
player.sendPacket(Msg.YOU_DO_NOT_HAVE_ENOUGH_REQUIRED_ITEMS);
return;
}
player.sendPacket(SystemMessage2.removeItems(item, count));
}
final int x = Integer.parseInt(param[0]);
final int y = Integer.parseInt(param[1]);
final int z = Integer.parseInt(param[2]);
final Location pos = Location.findPointToStay(x, y, z, 20, 70, player.getGeoIndex());