teamfusion / rottencreatures

4 stars 11 forks source link

Change IMMORTAL_CHANCE config type to Double #24

Open Hidoni opened 1 year ago

Hidoni commented 1 year ago

This fixes #8 and #18.
Forge doesn't load a Float from a TOML file, it loads a double, realizes it can't be assigned to a Float and says it needs to be corrected, which means it writes the default value back to the file, only for it to be interpreted as a double the next time it is read from the file again. This fixes that by just making the field into a Double.

CrazyJayson commented 8 months ago

I still have this issue on my server with the 1.18.2 - v1.0.0 version. will this be fixed on that version too? any ETA on this? thank you

ItsBlackGear commented 8 months ago

Hi! yes, this issue has been solved on the next update but we're currently reworking some other features before releasing it c: (won't close the issue until the version has been released)

nazzyz commented 4 months ago

Hello, just curious has this issue been corrected/updated since the last version "rottencreatures-forge-1.18.2-1.0.0.jar" I have just installed this on a new server pack I have created and am getting a constant stream of spam in the console every 1 second. [06Feb2024 03:05:34.512] [Thread-0/WARN] [net.minecraftforge.fml.config.ConfigFileTypeHandler/CONFIG]: Configuration file /var/games/minecraft/servers/VH3v13/config/rottencreatures-common.toml is not correct. Correcting

Is there any way to resolve this and is this affecting the world as it is is running? There are no console filters for 1.18.2 available for Forge to be able to block this message which is making my log file extremely large. Thanks for any update. -N