From 7e3cdb2f1a07c42372f92fd21da676886ae2df87 Mon Sep 17 00:00:00 2001 From: "petrak@" Date: Sun, 22 Jan 2023 20:08:49 -0600 Subject: [PATCH] fix bad loc on jei pat recipes --- .../hexcasting/forge/interop/jei/BrainsweepRecipeCategory.java | 2 +- .../hexcasting/forge/interop/jei/EdifyRecipeCategory.java | 2 +- .../hexcasting/forge/interop/jei/PhialRecipeCategory.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Forge/src/main/java/at/petrak/hexcasting/forge/interop/jei/BrainsweepRecipeCategory.java b/Forge/src/main/java/at/petrak/hexcasting/forge/interop/jei/BrainsweepRecipeCategory.java index 79816540..20276bd5 100644 --- a/Forge/src/main/java/at/petrak/hexcasting/forge/interop/jei/BrainsweepRecipeCategory.java +++ b/Forge/src/main/java/at/petrak/hexcasting/forge/interop/jei/BrainsweepRecipeCategory.java @@ -39,7 +39,7 @@ public class BrainsweepRecipeCategory implements IRecipeCategory { ResourceLocation location = modLoc("textures/gui/edify_jei.png"); background = guiHelper.drawableBuilder(location, 0, 0, 79, 61).setTextureSize(128, 128).build(); var edify = modLoc("edify"); - localizedName = Component.translatable("hexcasting.spell." + edify); + localizedName = Component.translatable("hexcasting.action." + edify); icon = new PatternDrawable(edify, 16, 16).strokeOrder(false); } diff --git a/Forge/src/main/java/at/petrak/hexcasting/forge/interop/jei/PhialRecipeCategory.java b/Forge/src/main/java/at/petrak/hexcasting/forge/interop/jei/PhialRecipeCategory.java index 49c673b0..e8e20b2e 100644 --- a/Forge/src/main/java/at/petrak/hexcasting/forge/interop/jei/PhialRecipeCategory.java +++ b/Forge/src/main/java/at/petrak/hexcasting/forge/interop/jei/PhialRecipeCategory.java @@ -31,7 +31,7 @@ public class PhialRecipeCategory implements IRecipeCategory { ResourceLocation location = modLoc("textures/gui/phial_jei.png"); background = guiHelper.drawableBuilder(location, 0, 0, 113, 40).setTextureSize(128, 128).build(); var craftPhial = modLoc("craft/battery"); - localizedName = Component.translatable("hexcasting.spell." + craftPhial); + localizedName = Component.translatable("hexcasting.action." + craftPhial); icon = new PatternDrawable(craftPhial, 12, 12); }