Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-19 14:30:17 +01:00
Add check for chunk cache
Temporary. Will need to find another fix :(
Dieser Commit ist enthalten in:
Ursprung
1c851b2a6d
Commit
62e7d43819
@ -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];
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren