Engineer's Decor

Engineer's Decor

19M Downloads

[1.16] NullPointerException in Labelled Crates (missing null safety check).

Vaelzan opened this issue ยท 2 comments

commented

Skipping right to the fix... the issue is in this line of code here:

There's a missing check to ensure that the slot is not null before calling getHasStack() on it.

Crash report demonstrating the crash: https://pastebin.com/CLx5FpMT

Reproduced with:
forge-1.16.5-36.1.0
engineersdecor-1.16.4-1.1.9

commented

Hi man, thanks for digging into the code directly! Gonna see to prepare and push the fix at the weekend. Cheers!

commented

Oky, included fix in the current maintenance release. File is on Curse. Ty again for reaching out, cheers,-