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,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