mirror of
https://github.com/PaperMC/Velocity.git
synced 2026-02-17 14:37:43 +01:00
Add hasCompletedJoin() check as suggested
This commit is contained in:
@@ -102,7 +102,10 @@ public class BackendPlaySessionHandler implements MinecraftSessionHandler {
|
||||
connection.getMinecraftConnection().close();
|
||||
return;
|
||||
}
|
||||
connection.getPlayer().getConnection().write(buf.retain());
|
||||
|
||||
if (connection.hasCompletedJoin()) {
|
||||
connection.getPlayer().getConnection().write(buf.retain());
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user