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

更新命名

This commit is contained in:
XiaoMoMi
2025-08-25 17:16:01 +08:00
parent 0049b1c421
commit 07f9add586
6 changed files with 15 additions and 15 deletions

View File

@@ -83,7 +83,7 @@ public class BukkitExistingBlock implements ExistingBlock {
}
@Override
public Key type() {
public Key id() {
Object blockState = BlockStateUtils.getBlockState(this.block);
Optional<ImmutableBlockState> optionalCustomBlockState = BlockStateUtils.getOptionalCustomBlockState(blockState);
if (optionalCustomBlockState.isPresent()) {