squeek502 / AppleCore

An API for modifying the food and hunger mechanics of Minecraft
The Unlicense
55 stars 24 forks source link

FoodStats incompatible with Sponge #78

Closed squeek502 closed 7 years ago

squeek502 commented 7 years ago

See squeek502/SpiceOfLife#99 and https://github.com/SpongePowered/SpongeForge/issues/969 and https://github.com/SpongePowered/SpongeForge/issues/916

Sponge re-initializes FoodStats without the EntityPlayer field added by AppleCore, causing the player to be null unexpectedly.

Not sure how to best resolve this yet.

Some possible fixes:

kashike commented 7 years ago

Should be fixed with https://github.com/SpongePowered/SpongeCommon/commit/384180f372fa233bcfc110a7385f43df2a85ef76.