Fixed XYCraft spawning errors