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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user