Skip to content

Inability to save recipes for the smithing table on version 4.19.1.2 of WolfyUtils #133

@Kaysjg

Description

@Kaysjg

Describe the bug
Inability to save recipes for the smithing table(when using the /wui) on version WolfyUtils 4.19.1.2. Version CustomCrafting does not affect on this bug(Testing on versions 4.19.1.0 and 4.18.5)

On version WolfyUtils 4.18.6 recipe for smithing table created.

To Reproduce
Steps to reproduce the behavior:

  1. /cc
  2. Creating recipe for smithing table
  3. Save recipe with /wui
  4. Get error in console of server

Expected behavior
The ability to create custom recipes for the smithing table.

Moreover, on version 4.18.6 of WolfyUtils, there was a mistake that if you add the crafting rights requirement to the smithing table, then the recipe simply did not work if you had player rights and without it (even for the adminstrator). But I can't check this bug, because recipes are simply not being created right now.

Screenshots
When you enter the /wui command in the chat (in this case), nothing is output to the chat, but only an error in the console:

[15:07:40 INFO]: Kaydes issued server command: /wui kuznez_stol test
[15:07:40 WARN]: [WolfyUtilities] Task #24714 for WolfyUtilities v4.19.1.2 generated an exception
java.lang.NoSuchMethodError: 'void com.wolfyscript.utilities.bukkit.world.items.reference.StackReference.(me.wolfyscript.utilities.api.WolfyUtilCore, com.wolfyscript.utilities.bukkit.world.items.reference.StackIdentifier, double, int, org.bukkit.inventory.ItemStack)'
at customcrafting-spigot-4.19.1.0.jar/me.wolfyscript.customcrafting.recipes.items.RecipeItemStack.lambda$new$13(RecipeItemStack.java:129) ~[customcrafting-spigot-4.19.1.0.jar:?]
at java.base/java.util.stream.ReferencePipeline$3$1.accept(Unknown Source) ~[?:?]
at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Unknown Source) ~[?:?]
at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source) ~[?:?]
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source) ~[?:?]
at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source) ~[?:?]
at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source) ~[?:?]
at java.base/java.util.stream.ReferencePipeline.collect(Unknown Source) ~[?:?]
at customcrafting-spigot-4.19.1.0.jar/me.wolfyscript.customcrafting.recipes.items.RecipeItemStack.(RecipeItemStack.java:129) ~[customcrafting-spigot-4.19.1.0.jar:?]
at customcrafting-spigot-4.19.1.0.jar/me.wolfyscript.customcrafting.recipes.items.Ingredient.(Ingredient.java:71) ~[customcrafting-spigot-4.19.1.0.jar:?]
at customcrafting-spigot-4.19.1.0.jar/me.wolfyscript.customcrafting.recipes.CustomRecipeSmithing.(CustomRecipeSmithing.java:144) ~[customcrafting-spigot-4.19.1.0.jar:?]
at customcrafting-spigot-4.19.1.0.jar/me.wolfyscript.customcrafting.data.cache.recipe_creator.RecipeCacheSmithing.constructRecipe(RecipeCacheSmithing.java:81) ~[customcrafting-spigot-4.19.1.0.jar:?]
at customcrafting-spigot-4.19.1.0.jar/me.wolfyscript.customcrafting.data.cache.recipe_creator.RecipeCacheSmithing.constructRecipe(RecipeCacheSmithing.java:31) ~[customcrafting-spigot-4.19.1.0.jar:?]
at customcrafting-spigot-4.19.1.0.jar/me.wolfyscript.customcrafting.data.cache.recipe_creator.RecipeCache.save(RecipeCache.java:201) ~[customcrafting-spigot-4.19.1.0.jar:?]
at customcrafting-spigot-4.19.1.0.jar/me.wolfyscript.customcrafting.gui.recipe_creator.ClusterRecipeCreator.lambda$registerSaveButtons$22(ClusterRecipeCreator.java:222) ~[customcrafting-spigot-4.19.1.0.jar:?]
at wolfyutils-spigot-4.19.1.2.jar/me.wolfyscript.utilities.api.inventory.gui.GuiHandler.onChat(GuiHandler.java:516) ~[wolfyutils-spigot-4.19.1.2.jar:?]
at wolfyutils-spigot-4.19.1.2.jar/com.wolfyscript.utilities.bukkit.commands.InputCommand.lambda$execute$1(InputCommand.java:43) ~[wolfyutils-spigot-4.19.1.2.jar:?]
at org.bukkit.craftbukkit.scheduler.CraftTask.run(CraftTask.java:78) ~[purpur-1.21.4.jar:1.21.4-2371-4a204f1]
at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:474) ~[purpur-1.21.4.jar:1.21.4-2371-4a204f1]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1851) ~[purpur-1.21.4.jar:1.21.4-2371-4a204f1]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1712) ~[purpur-1.21.4.jar:1.21.4-2371-4a204f1]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1371) ~[purpur-1.21.4.jar:1.21.4-2371-4a204f1]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:345) ~[purpur-1.21.4.jar:1.21.4-2371-4a204f1]
at java.base/java.lang.Thread.run(Unknown Source) ~[?:?]

Server (please complete the following information):

  • Server Software [Purpur]
  • Minecraft version [1.21.4]
  • Java version [Java 21]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions