
[Bug]:
Boolyman opened this issue ยท 3 comments
What happened?
I set up new groups and effects, but I am getting a crash when the world generates. The log references an issue with the diet-effects config. I have inlcluded the paste.gg of the log below. I'm thinking maybe I used an operation that wasn't appropriate for the effect attribute I was trying to increase, or something?
How do you trigger this bug?
...
Forge Version
Forge - 36.2.8
Mod Version
diet-forge-1.16.5-1.0.0.jar
Other Relevant Mod Versions
No response
Relevant Log Outputs
diet-effects file: https://paste.gg/p/anonymous/aced9e5798384e1184db6a0bae62f4ba
Log error: https://paste.gg/p/anonymous/d7dc3c91f64b49cd85ce4c51c5d8aeca
I think this is because you have 4
instead of 4.0
in:
name = "minecraft:generic.attack_damage"
operation = "add"
amount = 4
Try changing that, re-test, and let me know the results.
I'll leave this issue open because I should probably add in some casting checks to avoid this issue happening.