fixed changing settings mid-game not sending updates to the server

This commit is contained in:
Oth3r 2024-05-16 15:09:25 -05:00
commit 1d08ee6775
2 changed files with 10 additions and 6 deletions

View file

@ -213,7 +213,7 @@ public class Config {
file.write("\nhand.off.whitelist="+gson.toJson(offWhitelist));
file.write("\nhand.off.blacklist="+gson.toJson(offBlacklist));
// send packets to update the settings on the server
if (SitClient.inGame) SitClient.sendPackets();
SitClient.sendSettingsPackets();
} catch (Exception e) {
e.printStackTrace();
}