Removed "on" prefix from all remote methods

This commit is contained in:
Anuken
2020-07-03 18:48:31 -04:00
parent 7ff2e98420
commit 8576d535bd
22 changed files with 108 additions and 84 deletions

View File

@@ -46,7 +46,7 @@ public abstract class NetConnection{
info.lastKicked = Math.max(Time.millis() + 30 * 1000, info.lastKicked);
}
Call.onKick(this, reason);
Call.kick(this, reason);
Time.runTask(2f, this::close);
@@ -66,7 +66,7 @@ public abstract class NetConnection{
info.timesKicked++;
info.lastKicked = Math.max(Time.millis() + kickDuration, info.lastKicked);
Call.onKick(this, reason);
Call.kick(this, reason);
Time.runTask(2f, this::close);