9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2025-12-25 09:59:20 +00:00

修复accessor创建

This commit is contained in:
XiaoMoMi
2025-08-25 15:52:48 +08:00
parent c1e6410d47
commit 1469f87690

View File

@@ -55,7 +55,7 @@ public class BukkitExistingBlock implements ExistingBlock {
@Override
public @NotNull StatePropertyAccessor createStatePropertyAccessor() {
return FastNMS.INSTANCE.createStatePropertyAccessor(this.block);
return FastNMS.INSTANCE.createStatePropertyAccessor(BlockStateUtils.getBlockState(this.block));
}
@Override