255256257258259260261262263264265
if (stack != null) { Item.dropNaturally(position, stack); } } inventory.clear(); inventory.updateAll(); } } /** * Drops all items/xp in the DeathDrops of the given entity