OrionFive / Hospitality

Orion's "Hospitality" and more
https://www.patreon.com/orionmods
GNU General Public License v3.0
91 stars 52 forks source link

Hospitality: Error when selecting nutrient dispenser #604

Closed OrionFive closed 3 years ago

OrionFive commented 3 years ago

Achtung detected the following error after I right-clicked on a Nutrient Paste Dispenser with a pawn selected:

https://pastebin.com/mdeEn4qD

Is this the right place to investigate? Sorry if this isn't enough/the correct info or format.

OrionFive commented 3 years ago

Apparently someone is using the non-release version, which generally isn't such a good idea. But it should actually work in this case, so this may be useful.

RealTelefonmast commented 3 years ago

That is a strange issue, ShouldEmpty can only error like that if silverContainer is null. Did you load an older save before this update? That would explain it, and I know how to fix it then. I will provide an attempt for a fix in a moment.

OrionFive commented 3 years ago

People can update from any version to this one, so it should be indefinitely backward compatible (I do draw the line at 1.1, though). I didn't experience this myself. It's from a user who downloaded the latest code directly. I did point out that that's not a good idea. But people really want their CE fix, and I still haven't made this live, since I don't have time to test it.

OrionFive commented 3 years ago

I've merged it. Should be fine now.