正确判断卓越物品接口启用状态
This commit is contained in:
parent
af798c35da
commit
130d2582cb
1 changed files with 1 additions and 0 deletions
|
@ -41,6 +41,7 @@ public class SuperbItemInterfaceBlockEntity extends BaseContainerBlockEntity {
|
||||||
blockEntity.setCooldown(TRANSFER_COOLDOWN);
|
blockEntity.setCooldown(TRANSFER_COOLDOWN);
|
||||||
|
|
||||||
if (blockEntity.isEmpty()) return;
|
if (blockEntity.isEmpty()) return;
|
||||||
|
if (!state.getValue(SuperbItemInterfaceBlock.ENABLED)) return;
|
||||||
|
|
||||||
var facing = state.getValue(SuperbItemInterfaceBlock.FACING);
|
var facing = state.getValue(SuperbItemInterfaceBlock.FACING);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue