send changes to server on file load

This commit is contained in:
Oth3r 2024-08-07 12:45:24 -05:00
commit 3eb16e58de

View file

@ -98,5 +98,9 @@ public class FileData {
public static void loadFiles(boolean tryLegacy) {
ServerConfig.load(tryLegacy);
SittingConfig.load();
// if loading file and is on supported server on client, send the new settings over
if (Data.isClient() && Data.isSupportedServer()) {
Utl.sendSettingsPackets();
}
}
}