[Bug]: Diet reset on death not working
SigmaFlame opened this issue ยท 0 comments
Minecraft Version
1.19.2
What happened?
Hello,
When I die, I lost some of my diets.
I should not lost anything.
How do you trigger this bug?
- Eat something.
- See there is a % in the diet associated to what you eat.
- Die whatever the reason.
- See the diet is now lowered, often to 0%.
Loader
Forge
Loader Version
Forge 43.5.1
API Version
N/A
Mod Version
diet-forge-2.0.1+1.19.2
Relevant Log Outputs
That's my config file "diet-server.toml" :
#The minimum percentage that diet groups can be reduced to upon death.
#Range: 0 ~ 100
deathPenaltyMin = 0
#The reduction in percentage applied to all diet groups upon death.
#Range: 0 ~ 100
deathPenaltyLoss = 0
#The method to apply for losses due to death penalties.
#AMOUNT = Reduce by a flat percentage amount
#PERCENT = Reduce by a percent of the current value
#RESET = Reset value to defaults
#Allowed Values: AMOUNT, PERCENT, RESET
deathPenaltyMethod = "AMOUNT"
#The percentage reduction in total gain for each diet group consumed at once.
#Range: 0 ~ 100
gainPenaltyPerGroup = 15
#The percentage reduction in total decay for each diet group decayed at once.
#Range: 0 ~ 100
decayPenaltyPerGroup = 15
#List of food quality overrides for diet gain values.
#Format: "modid:name;quality"
foodOverrides = []
#If enabled, food groups are assigned to unclassified items based on ingredients.
generateGroupsForEmptyItems = true
#If enabled, food group tooltips are hidden until player has eaten that type of item.
hideTooltipsUntilEaten = false```