geforkt von Mirrors/Velocity
Fix task cancellation
Dieser Commit ist enthalten in:
Ursprung
80477f6a0e
Commit
60ac285b17
@ -22,7 +22,7 @@ public class PlaySessionHandler implements MinecraftSessionHandler {
|
||||
@Override
|
||||
public void activated() {
|
||||
EventLoop loop = player.getConnection().getChannel().eventLoop();
|
||||
loop.scheduleAtFixedRate(this::ping, 5, 15, TimeUnit.SECONDS);
|
||||
pingTask = loop.scheduleAtFixedRate(this::ping, 5, 15, TimeUnit.SECONDS);
|
||||
}
|
||||
|
||||
private void ping() {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren