Quark Stonelings in EnderIO Powered Spawner Crash
NielsPilgaard opened this issue ยท 1 comments
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
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
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().