Only translate full chunks

This commit is contained in:
AJ Ferguson 2020-03-05 17:55:22 -09:00
parent eaf45ff6f7
commit f71c70224b

View file

@ -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 {