Druidcraft

Druidcraft

8M Downloads

Biome spawn restrictions not loading

Akaitatsu opened this issue ยท 1 comments

commented

General Information

Describe the bug:
Errors are generated when biome spawn restrictions are loaded from the config file. This happens with the default configuration or customized. I can't tell if this is a bug in Forge or Druidcraft but most configs seem to load OK.

As you can see in druidcraft-server.txt (extension changed so github would accept the upload), I added "ATUM" to the dreadfish_exclusions list. The log output still says the same thing and changes the configuration for this item back to the default.

To Reproduce:

  1. Install mods
  2. Launch Minecraft
  3. Create single player world
  4. Exit world and quit Minecraft
  5. Edit config: dreadfish_exclusions = ["NETHER", "END", "FOREST"]
  6. Launch Minecraft
  7. Start world created before
  8. Exit world and quit Minecraft
  9. Examine log and config file

Expected behavior:
Configuration entries should be read successfully, applied to the mod functionality, and not overwritten.


Environment Versions

Mystic Mods Versions

  • mysticallib-1.15.2-2.0.1.jar
  • Druidcraft-1.15-0.4.45.jar

Other Versions:

  • Forge: 31.2.45
  • Minecraft: 1.15.2
  • Modpack (if available): Custom, but I tested it with only Druidcraft and MysticalLib.

Logging Information

[13Nov2020 10:25:18.620] [modloading-worker-15/INFO] [druidcraft/]: Loading Config: D:\MultiMC\instances\GWMS\.minecraft\config\druidcraft-server.toml
[13Nov2020 10:25:18.620] [modloading-worker-15/INFO] [druidcraft/]: Built Config: D:\MultiMC\instances\GWMS\.minecraft\config\druidcraft-server.toml
[13Nov2020 10:25:18.621] [modloading-worker-15/INFO] [druidcraft/]: Loaded Config: D:\MultiMC\instances\GWMS\.minecraft\config\druidcraft-server.toml
[13Nov2020 10:25:18.621] [modloading-worker-15/WARN] [net.minecraftforge.common.ForgeConfigSpec/CORE]: Configuration file D:\MultiMC\instances\GWMS\.minecraft\config\druidcraft-server.toml is not correct. Correcting
[13Nov2020 10:25:18.622] [modloading-worker-15/WARN] [net.minecraftforge.common.ForgeConfigSpec/CORE]: Incorrect key entityspawning.dreadfish_biomes was corrected from [SNOWY, COLD] to [SNOWY, COLD]
[13Nov2020 10:25:18.622] [modloading-worker-15/WARN] [net.minecraftforge.common.ForgeConfigSpec/CORE]: Incorrect key entityspawning.dreadfish_exclusions was corrected from [NETHER, END, ATUM] to [NETHER, END]
[13Nov2020 10:25:18.622] [modloading-worker-15/WARN] [net.minecraftforge.common.ForgeConfigSpec/CORE]: Incorrect key entityspawning.beetle_biomes was corrected from [CONIFEROUS, FOREST, JUNGLE, DENSE] to [CONIFEROUS, FOREST, JUNGLE, DENSE]
[13Nov2020 10:25:18.622] [modloading-worker-15/WARN] [net.minecraftforge.common.ForgeConfigSpec/CORE]: Incorrect key entityspawning.beetle_exclusions was corrected from [] to []
[13Nov2020 10:25:18.622] [modloading-worker-15/WARN] [net.minecraftforge.common.ForgeConfigSpec/CORE]: Incorrect key entityspawning.lunar_moth_biomes was corrected from [FOREST, PLAINS, MOUNTAIN, HILLS] to [FOREST, PLAINS, MOUNTAIN, HILLS]
[13Nov2020 10:25:18.622] [modloading-worker-15/WARN] [net.minecraftforge.common.ForgeConfigSpec/CORE]: Incorrect key entityspawning.lunar_moth_exclusions was corrected from [DENSE] to [DENSE]

Latest Log (if necessary):
This log is from my test with no mods other than Druidcraft and MysticalLib: latest.log

commented

Just as an FYI, Druidcraft doesn't require MysticalLib.

I'm not entirely sure why this is happening. As this is something I implemented I'll need to have a look at it myself when my internet returns to stable.