Crash on world load related to Spawner Agitator
DerpityDoo opened this issue ยท 4 comments
Minecraft Version: 1.12.2
Forge Version: 14.23.2.2651
Mod Version 0.5.1-163
The crash occurs in WorldServer#sendPacketWithinDistance()
, called from WorldServer#spawnParticle
. It looks like WorldServer#sendPacketWithinDistance()
is getting a null player, likely related to the fact that the Spawner Agitator allows spawns to continue to happen when there are no players around.
Quick workaround: in your server-side Despawning Spawners config, set B:displaySpawnerParticle to false. This will stop Despawning Spawners playing particle effects but should resolve the crash for now. I'll do some debugging and work out if it's on PNC:R or Despawning Spawners (or both) to resolve this issue properly.
Build 177 from http://jenkins.k-4u.nl/job/PneumaticCraft-Repressurized/ should fix the problem - if you're in a position to test that, I'd like to know if it helps.
Your short-term fix worked great, and now that I have loaded in the crash is no longer happening after reenabling Spawner Particles, so, unfortunately, I cannot test your latest build to see if it fixes the problem. If it happens again I will be happy to test it out. Thanks for the help!