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 c2349a8be..593a0d492 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/mod/tile/TileEntityItemViewer.java +++ b/src/main/java/de/ellpeck/actuallyadditions/mod/tile/TileEntityItemViewer.java @@ -75,11 +75,12 @@ public class TileEntityItemViewer extends TileEntityInventoryBase{ } private void queryAndSaveData(){ + this.genericInfos.clear(); + this.specificInfos.clear(); + if(this.connectedRelay != null){ Network network = ActuallyAdditionsAPI.connectionHandler.getNetworkFor(this.connectedRelay.getPos(), this.worldObj); if(network != null && (this.oldNetwork != network || this.lastNetworkChangeAmount != network.changeAmount)){ - this.genericInfos.clear(); - this.specificInfos.clear(); this.connectedRelay.getItemHandlersInNetwork(network, this.genericInfos); if(!this.genericInfos.isEmpty()){