13
0
geforkt von Mirrors/Velocity

Add hasCompletedJoin() check as suggested

Dieser Commit ist enthalten in:
Andrew Steinborn 2018-09-06 16:09:13 -04:00
Ursprung e86968e899
Commit 51a85d372b

Datei anzeigen

@ -102,8 +102,11 @@ public class BackendPlaySessionHandler implements MinecraftSessionHandler {
connection.getMinecraftConnection().close(); connection.getMinecraftConnection().close();
return; return;
} }
if (connection.hasCompletedJoin()) {
connection.getPlayer().getConnection().write(buf.retain()); connection.getPlayer().getConnection().write(buf.retain());
} }
}
@Override @Override
public void exception(Throwable throwable) { public void exception(Throwable throwable) {