Fixed crash while dropping the xp from ores