From 71c5ecec3331d4462e77bbfcf0abb54092baa6c3 Mon Sep 17 00:00:00 2001 From: BlayTheNinth <1933180+BlayTheNinth@users.noreply.github.com> Date: Fri, 14 Jun 2024 11:00:01 +0200 Subject: [PATCH] feat: Update Forge and NeoForge to 1.21 --- .../main/java/net/blay09/mods/trashslot/compat/JEIAddon.java | 2 +- .../main/java/net/blay09/mods/trashslot/compat/JEIAddon.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/forge/src/main/java/net/blay09/mods/trashslot/compat/JEIAddon.java b/forge/src/main/java/net/blay09/mods/trashslot/compat/JEIAddon.java index 29391c9..0c73a49 100644 --- a/forge/src/main/java/net/blay09/mods/trashslot/compat/JEIAddon.java +++ b/forge/src/main/java/net/blay09/mods/trashslot/compat/JEIAddon.java @@ -17,7 +17,7 @@ public class JEIAddon implements IModPlugin { @Override public ResourceLocation getPluginUid() { - return new ResourceLocation("trashslot", "trashslot"); + return ResourceLocation.fromNamespaceAndPath("trashslot", "trashslot"); } @Override diff --git a/neoforge/src/main/java/net/blay09/mods/trashslot/compat/JEIAddon.java b/neoforge/src/main/java/net/blay09/mods/trashslot/compat/JEIAddon.java index 29391c9..0c73a49 100644 --- a/neoforge/src/main/java/net/blay09/mods/trashslot/compat/JEIAddon.java +++ b/neoforge/src/main/java/net/blay09/mods/trashslot/compat/JEIAddon.java @@ -17,7 +17,7 @@ public class JEIAddon implements IModPlugin { @Override public ResourceLocation getPluginUid() { - return new ResourceLocation("trashslot", "trashslot"); + return ResourceLocation.fromNamespaceAndPath("trashslot", "trashslot"); } @Override