diff --git a/src/main/kotlin/cf/wayzer/contentsTweaker/resolvers/MindustryContentsResolver.kt b/src/main/kotlin/cf/wayzer/contentsTweaker/resolvers/MindustryContentsResolver.kt index 33410f9..50dcce5 100644 --- a/src/main/kotlin/cf/wayzer/contentsTweaker/resolvers/MindustryContentsResolver.kt +++ b/src/main/kotlin/cf/wayzer/contentsTweaker/resolvers/MindustryContentsResolver.kt @@ -54,8 +54,9 @@ object MindustryContentsResolver : ContentsTweaker.NodeCollector { +CTNode.ObjInfo(it) +CTNode.AfterHandler { if (it is UnlockableContent) { - it.stats = Stats() - it.setStats() + it.stats = Stats().apply { + useCategories = it.stats.useCategories + } } if (it is Block) { it.barMap.clear()