Compare commits

..

No commits in common. "ce9a88d56de90390370530764bdd325d966da936" and "e43273b172b3e77776afdf493104eea0f4645a01" have entirely different histories.

4 changed files with 4 additions and 10 deletions

View file

@ -52,7 +52,7 @@ With the new config system, block tags and custom blockstates can be used to mas
![players sitting on a vast range of blocks](https://github.com/Oth3r/oth3r.github.io/blob/main/mod_data/Sit!/media/desc/custom_blocks.gif?raw=true)
### ⌨️ Keybinds
Don't want to sit with **just** the hand? Use a keybind or type a command to sit instead!
Don't want to sit with the **just** the hand? Use a keybind or type a command to sit instead!
![setting keybinds for the sit mod, and sitting by using them](https://github.com/Oth3r/oth3r.github.io/blob/main/mod_data/Sit!/media/desc/keybinds.gif?raw=true)

View file

@ -1,6 +1,3 @@
# v1.2.4.7
* fixed legacy file updater causing a stack overflow crash
# v1.2.4.6
* fixed max otterlib version (1.21.8)

View file

@ -13,7 +13,7 @@ yarn_mappings=1.21.8+build.1
loader_version=0.16.14
# Mod Properties
mod_version=1.2.4.7+1.21.8
mod_version=1.2.4.6+1.21.8
maven_group=one.oth3r
file_name=sit!

View file

@ -345,11 +345,6 @@ public class ServerConfig implements CustomFile<ServerConfig> {
} catch (Exception e) {
Data.LOGGER.error("Failed to delete the old Sit! config.");
}
// save the updated configs
FileData.saveFiles();
// continue loading as normal...
}
/**
@ -499,6 +494,8 @@ public class ServerConfig implements CustomFile<ServerConfig> {
FileData.setServerConfig(serverConfig);
FileData.setSittingConfig(sittingConfig);
serverConfig.save();
sittingConfig.save();
} catch (Exception e) {
Data.LOGGER.error("Error loading legacy config: %s", e.getMessage());
}