From 6515acf57c70411fbf1d8ddc1158c6f1b128dfd9 Mon Sep 17 00:00:00 2001 From: astoria Date: Mon, 3 Apr 2023 10:13:12 -0500 Subject: [PATCH] Indirect power --- .../net/brokenmoon/afloydwiremod/tile/RedstoneLinkTile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/brokenmoon/afloydwiremod/tile/RedstoneLinkTile.java b/src/main/java/net/brokenmoon/afloydwiremod/tile/RedstoneLinkTile.java index 21d6621..acc2693 100644 --- a/src/main/java/net/brokenmoon/afloydwiremod/tile/RedstoneLinkTile.java +++ b/src/main/java/net/brokenmoon/afloydwiremod/tile/RedstoneLinkTile.java @@ -64,7 +64,7 @@ public class RedstoneLinkTile extends AbstractWireTile { @Override public void updateTick(World world, int i, int j, int k, Random random) { RedstoneLinkTileEntity link = (RedstoneLinkTileEntity) world.getBlockTileEntity(i, j, k); - if (world.isBlockGettingPowered(i, j, k)) { + if (world.isBlockGettingPowered(i, j, k) || world.isBlockIndirectlyGettingPowered(i, j, k)) { link.outputs[0].floatvalue = 1.0f; link.updateIO(); } else {