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,7 +102,10 @@ public class BackendPlaySessionHandler implements MinecraftSessionHandler {
connection.getMinecraftConnection().close(); connection.getMinecraftConnection().close();
return; return;
} }
connection.getPlayer().getConnection().write(buf.retain());
if (connection.hasCompletedJoin()) {
connection.getPlayer().getConnection().write(buf.retain());
}
} }
@Override @Override