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