Fix attribute fetching, which is needed to calculate mining waste of crystal'd strip miners

This potentially can break many things. Some of those are fixed already, but there might be many more...
This commit is contained in:
DarkPhoenix
2021-11-26 20:43:46 +03:00
parent 22be97f901
commit a9ef5caf2d
6 changed files with 43 additions and 27 deletions

View File

@@ -80,7 +80,7 @@ class AttributeDisplay(ViewColumn):
else:
attr = mod.getAttribute(self.info.name)
if attr is None:
if not attr:
return ""
if self.info.name == "volume":