forked from GeyserMC/Geyser
Only translate full chunks
This commit is contained in:
parent
eaf45ff6f7
commit
f71c70224b
1 changed files with 3 additions and 0 deletions
|
@ -47,6 +47,9 @@ public class JavaChunkDataTranslator extends PacketTranslator<ServerChunkDataPac
|
|||
ChunkUtils.updateChunkPosition(session, session.getPlayerEntity().getPosition().toInt());
|
||||
}
|
||||
|
||||
if (packet.getColumn().getBiomeData() == null) //Non-full chunk
|
||||
return;
|
||||
|
||||
// Not sure if this is safe or not, however without this the client usually times out
|
||||
GeyserConnector.getInstance().getGeneralThreadPool().execute(() -> {
|
||||
try {
|
||||
|
|
Loading…
Reference in a new issue