fix cherry pick errors

This will cause conflicts again, but they are minor. This commits belongs into master and not into the feature branch.
This commit is contained in:
Moritz Zwerger committed 2025-12-30 00:34:28 +01:00
1 parent 62043dda43
commit 8facd27651
1 file changed
+1 -2
@@ -64,7 +64,7 @@ object FallbackRegistries {
fun load() {
Log.log(LogMessageType.LOADING, LogLevels.VERBOSE) { "Loading default registries..." }
if (this.registries.isEmpty() || this.enums.isEmpty() || this.other.isEmpty()) throw IllegalArgumentException("No fallback registries?")
if (this.registries.isEmpty() || this.enums.isEmpty()) throw IllegalArgumentException("No fallback registries?")
for ((registry, file) in registries) {
val data = IntegratedAssets.DEFAULT[file.prefix("mappings/registries/").suffix(".json")].readJsonObject()
@@ -76,7 +76,6 @@ object FallbackRegistries {
}
this.registries.clear()
this.enums.clear()
this.other.clear()
Log.log(LogMessageType.LOADING, LogLevels.VERBOSE) { "Loaded default registries!" }
}