A Kerbal Space Program plugin designed to implement switching of part meshes, resources, and nodes
GNU Lesser General Public License v3.0
50
stars
33
forks
source link
missing null check means that valid non-unique part aspects are erroring #181
Closed
blowfishpro closed 4 years ago
https://github.com/blowfishpro/B9PartSwitch/blob/aa0ca13cf523a90a620e54d4a2e4a3ead94b7683/B9PartSwitch/PartSwitch/PartSubtype.cs#L275
Some things return
null
for the aspect lock, which should mean that there is no lock. However null is being added to the list and checked against.Alternately make this a separate interface.