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

Merge pull request #235 from jhqwqmc/dev

fix(block): 修复门使用混合方块行为出现异常
This commit is contained in:
XiaoMoMi
2025-06-20 21:00:20 +08:00
committed by GitHub

View File

@@ -182,4 +182,11 @@ public class UnsafeCompositeBlockBehavior extends BukkitBlockBehavior {
behavior.onExplosionHit(thisBlock, args, superMethod);
}
}
@Override
public void setPlacedBy(BlockPlaceContext context, ImmutableBlockState state) {
for (AbstractBlockBehavior behavior : this.behaviors) {
behavior.setPlacedBy(context, state);
}
}
}