mirror of
https://github.com/Oth3r/Sit.git
synced 2025-09-20 00:13:21 +02:00
send changes to server on file load
This commit is contained in:
parent
2239522561
commit
3eb16e58de
1 changed files with 4 additions and 0 deletions
|
@ -98,5 +98,9 @@ public class FileData {
|
||||||
public static void loadFiles(boolean tryLegacy) {
|
public static void loadFiles(boolean tryLegacy) {
|
||||||
ServerConfig.load(tryLegacy);
|
ServerConfig.load(tryLegacy);
|
||||||
SittingConfig.load();
|
SittingConfig.load();
|
||||||
|
// if loading file and is on supported server on client, send the new settings over
|
||||||
|
if (Data.isClient() && Data.isSupportedServer()) {
|
||||||
|
Utl.sendSettingsPackets();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue