Skip to content

Commit bd7e59d

Browse files
committed
Align pattern loader to other method signatures
1 parent cf33e38 commit bd7e59d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/robotgryphon/compactcrafting/recipes/json/MiniaturizationPatternLoader.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ protected void apply(Map<ResourceLocation, JsonElement> objectIn, IResourceManag
5050
continue;
5151

5252
// Load Components - If nothing was loaded, skip the recipe
53-
boolean componentsLoaded = loadComponents(root, recipe);
53+
boolean componentsLoaded = loadComponents(recipe, root);
5454
if(!componentsLoaded || recipe.getNumberComponents() == 0)
5555
continue;
5656

@@ -129,7 +129,7 @@ private boolean loadLayers(MiniaturizationRecipe recipe, JsonObject root) {
129129
return true;
130130
}
131131

132-
private boolean loadComponents(JsonObject root, MiniaturizationRecipe recipe) {
132+
private boolean loadComponents(MiniaturizationRecipe recipe, JsonObject root) {
133133
JsonObject components = root.get("components").getAsJsonObject();
134134
if(components.size() == 0) {
135135
throw new JsonParseException("Error: No components defined.");

0 commit comments

Comments
 (0)