Fixed incorrect discord presence updating

This commit is contained in:
Anuken
2018-02-19 14:45:18 -05:00
parent edc124c90d
commit ffabdba119
4 changed files with 5 additions and 5 deletions

View File

@@ -350,6 +350,7 @@ public class NetClient extends Module {
ui.join.hide();
Net.setClientLoaded(true);
Timers.runTask(1f, () -> Net.send(new ConnectConfirmPacket(), SendMode.tcp));
Timers.runTask(40f, Platform.instance::updateRPC);
}
public void beginConnecting(){

View File

@@ -68,8 +68,6 @@ public class Net{
clientProvider.connect(ip, port);
active = true;
server = false;
Timers.runTask(60f, Platform.instance::updateRPC);
}else{
throw new IOException("Already connected!");
}