Skip to content

Commit 8facd27

Browse files
committed
fix cherry pick errors
This will cause conflicts again, but they are minor. This commits belongs into master and not into the feature branch.
1 parent 62043dd commit 8facd27

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎src/main/java/de/bixilon/minosoft/data/registries/fallback/FallbackRegistries.kt‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ object FallbackRegistries {
6464

6565
fun load() {
6666
Log.log(LogMessageType.LOADING, LogLevels.VERBOSE) { "Loading default registries..." }
67-
if (this.registries.isEmpty() || this.enums.isEmpty() || this.other.isEmpty()) throw IllegalArgumentException("No fallback registries?")
67+
if (this.registries.isEmpty() || this.enums.isEmpty()) throw IllegalArgumentException("No fallback registries?")
6868

6969
for ((registry, file) in registries) {
7070
val data = IntegratedAssets.DEFAULT[file.prefix("mappings/registries/").suffix(".json")].readJsonObject()
@@ -76,7 +76,6 @@ object FallbackRegistries {
7676
}
7777
this.registries.clear()
7878
this.enums.clear()
79-
this.other.clear()
8079

8180
Log.log(LogMessageType.LOADING, LogLevels.VERBOSE) { "Loaded default registries!" }
8281
}

0 commit comments

Comments
 (0)