9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2025-12-27 19:09:08 +00:00

自动迁移

This commit is contained in:
XiaoMoMi
2025-09-29 01:54:45 +08:00
parent ef38e23040
commit 7d346b9779
2 changed files with 15 additions and 1 deletions

View File

@@ -674,7 +674,7 @@ public abstract class AbstractBlockManager extends AbstractModelGenerator implem
// 获取原版方块的id
Key block = split.length == 2 ? Key.of(split[0]) : Key.of(split[0], split[1]);
try {
List<BlockStateWrapper> arranger =blockStateArranger.get(block);
List<BlockStateWrapper> arranger = AbstractBlockManager.this.blockStateArranger.get(block);
if (arranger == null) {
throw new LocalizedResourceConfigException("warning.config.block.state.unavailable_vanilla", blockState);
}