3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-11-17 05:20:14 +01:00

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) {