Greymerk / minecraft-roguelike

This is a mod for minecraft that adds randomly generated dungeon complexes.
GNU General Public License v3.0
130 stars 53 forks source link

Server console- NPE DungeonBTeam.generate #93

Closed ProsperCraft closed 7 years ago

ProsperCraft commented 7 years ago

https://gist.github.com/ProsperCraft/d40b26e4e4dea8abd64c20b7f78c32c3

Modpack- Elf Squared 3.8.0E for 1.11.2

This stacktrace showed up in console when doing a large 10k by 10k worldgen.

RoguelikeDungeons-1.11.2-1.6.3

Greymerk commented 7 years ago

It looks like one of the chests failed to generate and that line of code attempts to access a null chest reference. what seed did you use anyway? Kinda wish I could replicate this issue, but I gather you don't know where exactly this happened.

ProsperCraft commented 7 years ago

Sorry no, it was on a new server with 12 people running in different directions.

Greymerk commented 7 years ago

I've tried to address this issue by making the Treasure system properly handle cases where chests cannot be placed in the world for some reason. This should prevent this NPE from ever happening.

Will be included in the next update.