mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 15:18:34 +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);
|
boolean whitelisted = handler.relayInQuestion.isWhitelisted(stack, output);
|
||||||
TileEntityLaserRelayItem connected = this.connectedRelay;
|
TileEntityLaserRelayItem connected = this.connectedRelay;
|
||||||
if(connected != null && connected != handler.relayInQuestion){
|
if(connected != null && connected != handler.relayInQuestion){
|
||||||
return whitelisted && connected.isWhitelisted(stack, !output);
|
return whitelisted && connected.isWhitelisted(stack, output);
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
return whitelisted;
|
return whitelisted;
|
||||||
|
|
Loading…
Reference in a new issue