Fixed bug where External Storage doesn't detect new inventory when rotating.
This commit is contained in:
@@ -96,6 +96,15 @@ public class NetworkNodeExternalStorage extends NetworkNode implements IStorageP
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onDirectionChanged() {
|
||||
super.onDirectionChanged();
|
||||
|
||||
if (network != null) {
|
||||
updateStorage(network);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getId() {
|
||||
return ID;
|
||||
|
||||
Reference in New Issue
Block a user