/** * drop an item at a powerup spawn point * * @param item the item to drop */ protected void dropItemOnSpawn(Material item) { debug.i("calculating item spawn location"); Location aim = SpawnManager.getCoords(arena, "powerup").add(0, 1, 0).toLocation(); debug.i("dropping item on spawn: " + aim.toString()); Bukkit.getWorld(arena.getWorld()).dropItem(aim, new ItemStack(item, 1)); }