Add hasCompletedJoin() check as suggested
This commit is contained in:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user