Rouge spawner generation causing java.lang.NullPointerException
DOOMDUDE643 opened this issue ยท 2 comments
not sure if user error but seems most likely the case since no one else seems to be having this problem, any help would be much appreciated.
DistantHorizons is currently a buggy mod, not sure exactly your problem is, but I suggest deleting it if it's not vanilla.
The code responsible for getting that block entity immediately sets it in to the world the line prior
world.setBlock(pos, Blocks.SPAWNER.defaultBlockState(), 2);
SpawnerBlockEntity entity = (SpawnerBlockEntity) world.getBlockEntity(pos);
this.stats.apply(entity);
I suspect another mod is making this contractually invalid.