diff --git a/changelog.txt b/changelog.txt index 58a8094..deab754 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1 @@ -- Ported to 1.20.1 (1.21 port is coming next) -- Fixed: Rotation feature not working -- Fixed: Removing an Item from the Tool changes its title to the raw name \ No newline at end of file +- Ported to 1.21.1 \ No newline at end of file diff --git a/src/main/java/vazkii/morphtool/AttachementRecipe.java b/src/main/java/vazkii/morphtool/AttachementRecipe.java index d5ab1ca..01f17b0 100644 --- a/src/main/java/vazkii/morphtool/AttachementRecipe.java +++ b/src/main/java/vazkii/morphtool/AttachementRecipe.java @@ -64,7 +64,6 @@ public ItemStack assemble(CraftingInput input, HolderLookup.Provider provider) { if (!tool.has(Registries.TOOL_CONTENT)) return ItemStack.EMPTY; ItemStack copy = tool.copy(); - String mod = MorphingHandler.getModFromStack(target); ToolContentComponent contents = copy.get(Registries.TOOL_CONTENT); if (contents == null) { return ItemStack.EMPTY;