From 794383ccf1539ac7f95d9ff284a81d77d1ba92bf Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Tue, 11 Oct 2016 14:41:26 +0200 Subject: [PATCH] Fixed Advanced Relays connected to Item Interfaces directly having their settings swapped --- .../actuallyadditions/mod/tile/TileEntityItemViewer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/ellpeck/actuallyadditions/mod/tile/TileEntityItemViewer.java b/src/main/java/de/ellpeck/actuallyadditions/mod/tile/TileEntityItemViewer.java index 84f3e5c3d..bed35632f 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/mod/tile/TileEntityItemViewer.java +++ b/src/main/java/de/ellpeck/actuallyadditions/mod/tile/TileEntityItemViewer.java @@ -154,7 +154,7 @@ public class TileEntityItemViewer extends TileEntityInventoryBase{ boolean whitelisted = handler.relayInQuestion.isWhitelisted(stack, output); TileEntityLaserRelayItem connected = this.connectedRelay; if(connected != null && connected != handler.relayInQuestion){ - return whitelisted && connected.isWhitelisted(stack, !output); + return whitelisted && connected.isWhitelisted(stack, output); } else{ return whitelisted;