mirror of
https://github.com/GTNewHorizons/ThaumicEnergistics.git
synced 2026-10-25 20:32:27 +00:00
Merge pull request #21 from GTNewHorizons/feature/NPEfix
fix NPE at PartEssentiaStorageMonitor.TrackingInformation
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user