Skip to content

Commit

Permalink
Fix error being backwards
Browse files Browse the repository at this point in the history
  • Loading branch information
KnightMiner committed Jun 4, 2022
1 parent a18d174 commit ee90c2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/slimeknights/mantle/util/JsonHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ public static List<JsonObject> getFileInAllDomainsAndPacks(ResourceManager manag
})
.map(preferredPath != null ? resource -> {
ResourceLocation loaded = resource.getLocation();
Mantle.logger.warn("Using deprecated path {} in pack {} - use {}:{} instead", resource.getSourceName(), loaded, loaded.getNamespace(), preferredPath);
Mantle.logger.warn("Using deprecated path {} in pack {} - use {}:{} instead", loaded, resource.getSourceName(), loaded.getNamespace(), preferredPath);
return getJson(resource);
} : JsonHelper::getJson)
.filter(Objects::nonNull).toList();
Expand Down

0 comments on commit ee90c2b

Please sign in to comment.