fix: extra type conformity check for TechnologyUnit to prevent unexpected NPEs

This commit is contained in:
2025-04-17 00:01:31 -05:00
parent 5f2379afd0
commit d40a5a50c0
2 changed files with 28 additions and 9 deletions

View File

@@ -1,4 +1,10 @@
---------------------------------------------------------------------------------------------------
Date: 04. 16. 2025
Bugfixes:
- Fixed rare issue improper TechnologyUnit objects in other mods would cause a NPE crash.
Minor Features:
- Added error handling with 'xpcall' to prevent full crashes, instead logging exceptions.
---------------------------------------------------------------------------------------------------
Version: 0.1.0
Date: 12. 12. 2024
Major Features: