forked from virt-mirrors/Sit
fixed changing settings mid-game not sending updates to the server
This commit is contained in:
parent
13202a6ac0
commit
1d08ee6775
2 changed files with 10 additions and 6 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue