TerraFirmaCraft

TerraFirmaCraft

2M Downloads

Food & Water drain in creative.

Claycorp opened this issue ยท 3 comments

commented

Food and water are draining in creative again when they shouldn't be.

TFC: 107

commented

Can confirm makes testing a bit interesting hehe :)

commented

Can confirm this as well.

commented

Rather interestingly, vanilla actually still handles FoodStats#onUpdate every tick. Which includes checking for saturation, food decay, healing, etc. The difference is that FoodStats#addExhaustion is called exclusively from EntityPlayer#addExhaustion, which makes a single check to this.capabilities.disableDamage before delegating to the FoodStats.