Better Questing

Better Questing

39M Downloads

[1.11] Several itemstack != null checks should be replaced/enhanced

dries007 opened this issue ยท 0 comments

commented

There are several itemstack != null checks that should be replaced by or enhanced by an !itemstack.isEmpty(). (aka they should be itemstack != null && !itemstack.isEmpty())

Example of one that is causing crashes.
There are a bunch more, also on the StandardQuestingPack repo, but I didn't wanna make 2 issues.

Brought to my attention via DoubleDoorDevelopment/D3Core#22