mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-26 00:38:35 +01:00
Fixed Advanced Relays connected to Item Interfaces directly having their settings swapped
This commit is contained in:
parent
d24a09ad67
commit
794383ccf1
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue