正确判断卓越物品接口启用状态

This commit is contained in:
Light_Quanta 2025-06-25 02:49:42 +08:00
parent af798c35da
commit 130d2582cb
No known key found for this signature in database
GPG key ID: 11A39A1B8C890959

View file

@ -41,6 +41,7 @@ public class SuperbItemInterfaceBlockEntity extends BaseContainerBlockEntity {
blockEntity.setCooldown(TRANSFER_COOLDOWN);
if (blockEntity.isEmpty()) return;
if (!state.getValue(SuperbItemInterfaceBlock.ENABLED)) return;
var facing = state.getValue(SuperbItemInterfaceBlock.FACING);