1
0
mirror of https://github.com/GeyserMC/Geyser.git synced 2025-12-19 14:59:27 +00:00

Fix client crash when custom blocks are registered (#5858)

This commit is contained in:
Eclipse
2025-09-30 15:45:18 +00:00
committed by GitHub
parent a1cb9bdb52
commit 71803c0ca8
2 changed files with 2 additions and 2 deletions

View File

@@ -86,7 +86,7 @@ public final class GameProtocol {
register(Bedrock_v818.CODEC, "1.21.90", "1.21.91", "1.21.92");
register(Bedrock_v819.CODEC, "1.21.93", "1.21.94");
register(Bedrock_v827.CODEC, "1.21.100", "1.21.101");
register(Bedrock_v844.CODEC, "1.21.110");
register(Bedrock_v844.CODEC, "1.21.111");
MinecraftVersion latestBedrock = SUPPORTED_BEDROCK_VERSIONS.get(SUPPORTED_BEDROCK_VERSIONS.size() - 1);
DEFAULT_BEDROCK_VERSION = latestBedrock.versionString();

View File

@@ -473,7 +473,7 @@ public class CustomBlockRegistryPopulator {
if (GameProtocol.is1_21_110orHigher(protocolVersion)) {
materialBuilder.putBoolean("packed_bools", materialInstance.faceDimming());
} else {
materialsBuilder.putBoolean("face_dimming", materialInstance.faceDimming());
materialBuilder.putBoolean("face_dimming", materialInstance.faceDimming());
}
// Texture can be unspecified when blocks.json is used in RP (https://wiki.bedrock.dev/blocks/blocks-stable.html#minecraft-material-instances)