9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2025-12-19 15:09:15 +00:00
This commit is contained in:
XiaoMoMi
2025-08-08 22:26:43 +08:00
parent 5810af38f3
commit 2262380285
2 changed files with 2 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ public final class DefaultSectionSerializer {
ReadableContainer.Serialized<ImmutableBlockState> serialized = section.statesContainer().serialize(null, PalettedContainer.PaletteProvider.CUSTOM_BLOCK_STATE);
ListTag palettes = new ListTag();
List<ImmutableBlockState> states = serialized.paletteEntries();
if (states.size() == 1 && states.get(0) == EmptyBlock.STATE) {
if (states.size() == 1 && states.getFirst() == EmptyBlock.STATE) {
return null;
}
CompoundTag sectionNbt = new CompoundTag();

View File

@@ -2,7 +2,7 @@ org.gradle.jvmargs=-Xmx1G
# Project settings
# Rule: [major update].[feature update].[bug fix]
project_version=0.0.61
project_version=0.0.61.2
config_version=43
lang_version=23
project_group=net.momirealms