Bewitchment (Legacy)

Bewitchment (Legacy)

8M Downloads

Crash in client while loading tile entities before blockstates for rendering

itsmeow opened this issue ยท 0 comments

commented

Expected Behavior

Not crashing - insert null checks on rendering blockstate retrieval

Actual Behavior

Crashes due to tile entity trying to retrieve null blockstate

Steps to Reproduce

Random. Depends on if client has loaded TEs in an area but not blocks.

Version of Minecraft, Bewitchment, Forge, Patchouli, LLibrary and Baubles used

Bewitchment Server Pack v1.2:
Forge 14.23.5.2815
Patchouli 1.0-17
LLibrary 1.7.17-1.12.2
Bewitchment 1.12.2-0.0.19.10-indev
Baubles 1.12-1.5.2

Screenshots encouraged

-- not present

Logs, in the event of a crash

https://pastebin.com/9MB2aGdZ

What needs to be done:

Insert null checks on all TileEntity blockstate retrievals. Blockstates can not be loaded on client while TEs are loaded.