eco compatibility
Uharn opened this issue ยท 0 comments
Description
When you have eco items (ecoitems or ecoarmor)
Some dummy recipes are shown as duplicates and a lot of errors spams console
The "dummy items have a
"_displayed" in their names
Server Details
- Server: 1.17.1
- FastCraft: v3.2.10
(https://polymart.org/resource/ecoarmor.687)
https://polymart.org/resource/ecoitems.1241
https://polymart.org/resource/eco.773
Errors
[17:23:00 ERROR]: Could not pass event PrepareItemCraftEvent to eco v6.20.4
java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
at jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64) ~[?:?]
at jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70) ~[?:?]
at jdk.internal.util.Preconditions.checkIndex(Preconditions.java:266) ~[?:?]
at java.util.Objects.checkIndex(Objects.java:359) ~[?:?]
at java.util.ArrayList.get(ArrayList.java:427) ~[?:?]
at com.willfp.eco.internal.spigot.recipes.ShapedRecipeListener.complexRecipeListener(ShapedRecipeListener.java:65) ~[eco-6.20.4-all.jar:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor51.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[patched_1.17.1.jar:git-Paper-408]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[patched_1.17.1.jar:git-Paper-408]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.17.1.jar:git-Paper-408]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:628) ~[patched_1.17.1.jar:git-Paper-408]
at net.benwoodworth.fastcraft.bukkit.recipe.FcCraftingRecipe_Bukkit_1_7.prepare-bH9MJnY(FcCraftingRecipe_Bukkit_1_7.kt:111) ~[FastCraft-3.2.10.jar:?]
at net.benwoodworth.fastcraft.crafting.model.CraftableRecipeFinder$prepareCraftableRecipes$1.invokeSuspend(CraftableRecipeFinder.kt:127) ~[FastCraft-3.2.10.jar:?]
at net.benwoodworth.fastcraft.lib.kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) ~[FastCraft-3.2.10.jar:?]
at net.benwoodworth.fastcraft.lib.kotlin.sequences.SequenceBuilderIterator.hasNext(SequenceBuilder.kt:140) ~[FastCraft-3.2.10.jar:?]
at net.benwoodworth.fastcraft.lib.kotlin.sequences.FlatteningSequence$iterator$1.ensureItemIterator(Sequences.kt:307) ~[FastCraft-3.2.10.jar:?]
at net.benwoodworth.fastcraft.lib.kotlin.sequences.FlatteningSequence$iterator$1.hasNext(Sequences.kt:303) ~[FastCraft-3.2.10.jar:?]
at net.benwoodworth.fastcraft.crafting.model.CraftableRecipeFinder$loadRecipes$1$2.invoke(CraftableRecipeFinder.kt:68) ~[FastCraft-3.2.10.jar:?]
at net.benwoodworth.fastcraft.crafting.model.CraftableRecipeFinder$loadRecipes$1$2.invoke(CraftableRecipeFinder.kt:64) ~[FastCraft-3.2.10.jar:?]
at net.benwoodworth.fastcraft.bukkit.server.FcTask_Bukkit_1_7.init$lambda-0(FcTask_Bukkit_1_7.kt:20) ~[FastCraft-3.2.10.jar:?]
at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftTask.run(CraftTask.java:101) ~[patched_1.17.1.jar:git-Paper-408]
at org.bukkit.craftbukkit.v1_17_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:483) ~[patched_1.17.1.jar:git-Paper-408]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1567) ~[patched_1.17.1.jar:git-Paper-408]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:490) ~[patched_1.17.1.jar:git-Paper-408]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1483) ~[patched_1.17.1.jar:git-Paper-408]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1282) ~[patched_1.17.1.jar:git-Paper-408]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[patched_1.17.1.jar:git-Paper-408]
at java.lang.Thread.run(Thread.java:833) ~[?:?]