Distinct Damage Descriptions

Distinct Damage Descriptions

7.9k Downloads

YResources.getRegistryString() crash

yeelp opened this issue ยท 0 comments

commented

NPE thrown at


Looks like stack.getItem() is the culprit because stack is null. Question: Why? I believe there was a substantial amount of checks beforehand but perhaps not enough.

Comes from DDDCapabilityDistributors.getCapabilities()

return getAllCaps(stack, YResources.getRegistryString(stack), BASE_ITEM_CAPS, itemCaps);