File Details
Vault Hunters Sync Server Config 1.5.0
- R
- Oct 7, 2024
- 26.73 KB
- 1.6K
- 1.18.2
- Forge
File Name
vault_hunters_sync_server_config-1.5.0.jar
Supported Versions
- 1.18.2
Curse Maven Snippet
- Reworks client config loading to solve modifier loading into registry.
The previous approach loaded configs directly changing memory field on client. This worked for most of configs, but failed for some (14) that had custom tasks on method readConfig. It prevented from using these configs with this mod, as they did not work properly.
It was addressed by changing how configs are loaded on client. Now configs from server are saved in /config/the_vault/server/ directory upon receiving it from server, and afterwards, it used Config#readConfig method to load it on client.
This allows these complex configs to work, by just a bit of performance lose due to extra file reading that is done by Config#readConfig and Gson.toFile method calls.

