Insane96 / IguanaTweaksReborn

Repository for ported and maintained version of IguanaTweaks
https://www.curseforge.com/minecraft/mc-mods/iguanatweaks-reborn
13 stars 12 forks source link

`Peaceful Hunger & Health = false` prevents hunger reduction #321

Closed LTCatt closed 2 weeks ago

LTCatt commented 2 weeks ago

Versions:

What Happens:
Peaceful Hunger & Health = false prevents hunger reduction, even on non-peaceful difficulties 1

Config:
common.zip

Can be reproduced with a minimal set of mods? (IguanaTweaks Reborn + InsaneLib + e.g. Quark)?:
Yes image

Insane96 commented 2 weeks ago

Thanks, As said, I'm out of town so will chech it in some days

Insane96 commented 2 weeks ago

For future me:

else if (peacefulHunger && difficulty != Difficulty.PEACEFUL) {

This is supposed to be an OR and not AND

Insane96 commented 2 weeks ago

Fixed for next update