mirror of
https://github.com/Bixilon/Minosoft.git
synced 2026-12-04 23:38:20 +00:00
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:
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!" }
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user