Closed James103 closed 4 years ago
Mod Version: scalingfeast-1.5.0 Minecraft Version: 1.12.2 Loaded Mods: (Reproducible with just Scaling Feast)
Describe the bug Hunger level can be greater than cap. Additionally, hunger level above cap is not shown in green.
Steps to Reproduce
/sf setMax @p 500
/hunger 1
/give @p minecraft:stone 1 0 {AttributeModifiers:[{AttributeName:"scalingfeast.maxHungerMod",Name:"test",Amount:500,Operation:0,UUIDLeast:880424,UUIDMost:129850}]}
/effect @p saturation 2 500
Expected behavior Hunger level resets back to max when max hunger decreases.
Screenshots
Additional context Saturation can't go above cap, see 6743a8fa6734ba566c697204decbd7a1daf891dc
Nice catch. Should be an easy fix.
Mod Version: scalingfeast-1.5.0 Minecraft Version: 1.12.2 Loaded Mods: (Reproducible with just Scaling Feast)
Describe the bug Hunger level can be greater than cap. Additionally, hunger level above cap is not shown in green.
Steps to Reproduce
/sf setMax @p 500
and/hunger 1
/give @p minecraft:stone 1 0 {AttributeModifiers:[{AttributeName:"scalingfeast.maxHungerMod",Name:"test",Amount:500,Operation:0,UUIDLeast:880424,UUIDMost:129850}]}
/effect @p saturation 2 500
Expected behavior Hunger level resets back to max when max hunger decreases.
Screenshots
Additional context Saturation can't go above cap, see 6743a8fa6734ba566c697204decbd7a1daf891dc