Quark Oddities

Quark Oddities

22M Downloads

Quark Stonelings in EnderIO Powered Spawner Crash

NielsPilgaard opened this issue ยท 1 comments

commented

Game crashes when using EnderIO Powered Spawner set to the Stoneling mob from Quark.
I have also reported the issue to Ender IO, here: SleepyTrousers/EnderIO-1.5-1.12#5132

Crash Report

https://pastebin.com/KGqAWFpt

Versions

  • Forge-1.12.2-14.23.5.2836
  • EnderIO-1.12.2-5.0.44
  • EnderCore-1.12.2-0.5.57
  • Quark-r1.5-152

Original Report

EnigmaticaModpacks/Enigmatica2Expert#1197

commented

From the Ender IO issue:

(EntityStoneling.java:136)

List<ItemStack> items = world.getLootTableManager().getLootTableFromLocation(CARRY_LOOT_TABLE).generateLootForPools(rand, new LootContext.Builder((WorldServer) world).build());

This code only works server-side and must crash on the client. However, onInitialSpawn() is not a server-only method, as can be seen in net.minecraft.tileentity.MobSpawnerBaseLogic.getCachedEntity(), which itself is client-only and calls onInitialSpawn().