geforkt von Mirrors/Velocity
Add hasCompletedJoin() check as suggested
Dieser Commit ist enthalten in:
Ursprung
e86968e899
Commit
51a85d372b
@ -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) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren