mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-12-22 22:45:04 +01:00
Add check for chunk cache
Temporary. Will need to find another fix :(
This commit is contained in:
parent
1c851b2a6d
commit
62e7d43819
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ public class JavaSectionBlocksUpdateTranslator extends PacketTranslator<Clientbo
|
|||
|
||||
// If the entire section is updated, this might be a legacy non-full chunk update
|
||||
// which can contain thousands of unchanged blocks
|
||||
if (packet.getEntries().length == 4096) {
|
||||
if (packet.getEntries().length == 4096 && !session.getGeyser().getWorldManager().hasOwnChunkCache()) {
|
||||
// hack - bedrock might ignore the block updates if the chunk was still loading.
|
||||
// sending an UpdateBlockPacket seems to force it
|
||||
BlockChangeEntry firstEntry = packet.getEntries()[0];
|
||||
|
|
Loading…
Reference in a new issue