Sophisticated Core

Sophisticated Core

89M Downloads

Usage of `DataComponents.FOOD`

Closed this issue ยท 1 comments

commented

This can cause items to be incompatible due to the (neo)forge item extension IItemExtension / IItemStackExtension method getFoodProperties
An item may have food properties but not the data component

Considering you already retrieve it by using that method there isn't really any reason as to why you would check for the data component
(You even already check whether the food properties are null or not)

commented

Thanks for letting me know about this. The latest release fixes the issue.