Merge pull request #21 from GTNewHorizons/feature/NPEfix

fix NPE at PartEssentiaStorageMonitor.TrackingInformation
This commit is contained in:
repo-alt authored and GitHub committed 2022-01-18 08:37:58 +03:00
commit 00e42a4f0d
1 file changed
+1 -1
@@ -91,7 +91,7 @@ public class PartEssentiaStorageMonitor
@Override
public String getUnlocalizedName()
{
return TrackingInformation.this.getAspectStack().getAspectName();
return getAspectStack() == null ? "Invalid aspect stack" : getAspectStack().getAspectName();
}
@Override