Config File Difficulty Modifier "onPlayerSleep" Not Working
Nafen-F opened this issue ยท 5 comments
- Scaling Health: 3.0.6
- Silent Lib: 4.6.1
- Forge: 31.1.89
- Modpack: More Explore Pack
- Optifine Installed: Yes
Expected Behavior
When the input is changed from "difficulty" to "difficulty-5.0", the difficulty bar should decrease by five after the player sleeps.
Actual Behavior
When the input is changed from "difficulty" to "difficulty-5.0" for the onPlayerSleep modifier, in the game_settings config file, there is no effect in-game. This problem persists when the value is simply changed to '0' as well. This same method works for onPlayerDeath, though.
Links/Images
Steps to Reproduce the Problem
1.Modify the "onPlayerSleep" variable in the game_settings config file
2.Run the game and sleep in a bed
3.
It worked fine for me, could you retry with the same SH jar but not in a modpack?
I tried it alone and it works alright. It's in a pack with 33 other mods, so one of them is bound to mess with the sleep settings. There are sleeping bags in one of the mods, ExplorerCraft, so maybe that mod creates its own way of sleeping?
No idea. If you can test it alone with just SH and that mod to try and isolate the bug it would be appreciated
OK, I was able to isolate it. Turns out it was the Quark mod and its library Autoreg that was causing the problem. https://www.curseforge.com/minecraft/mc-mods/quark