mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 23:28:35 +01:00
Fix Phantom Laser Connections whenever breaking a laser that's directly connected to an Item Interface
This commit is contained in:
parent
dd95c826de
commit
f7f68e4f16
1 changed files with 3 additions and 2 deletions
|
@ -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()){
|
||||
|
|
Loading…
Reference in a new issue