mirror of
https://github.com/Xiao-MoMi/craft-engine.git
synced 2025-12-30 20:39:10 +00:00
fix(block): 修复updateShape返回值问题
This commit is contained in:
@@ -89,7 +89,7 @@ public class DoorBlockBehavior extends BukkitBlockBehavior {
|
||||
return MBlocks.AIR$defaultState;
|
||||
}
|
||||
if (neighborState.get(anotherDoorBehavior.get().halfProperty) != half) {
|
||||
return neighborState.with(anotherDoorBehavior.get().halfProperty, half);
|
||||
return neighborState.with(anotherDoorBehavior.get().halfProperty, half).customBlockState().handle();
|
||||
}
|
||||
return MBlocks.AIR$defaultState;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user