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

fix(block): 尝试修复不连接问题

This commit is contained in:
jhqwqmc
2025-06-21 09:36:21 +08:00
parent 7f863bb960
commit 837d10f333

View File

@@ -40,7 +40,6 @@ public class BukkitBlockBehavior extends AbstractBlockBehavior {
};
});
HARD_CODED_PROPERTY_DATA.put("facing", (behavior, property) -> {
if (behavior instanceof StairsBlockBehavior) return;
if (property.valueClass() == HorizontalDirection.class) {
@SuppressWarnings("unchecked")
Property<HorizontalDirection> directionProperty = (Property<HorizontalDirection>) property;