Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When I use /bitcoin reload, it will display an error on the console. #6

Open
Li-Jihan opened this issue Apr 27, 2021 · 0 comments
Open

Comments

@Li-Jihan
Copy link

When I use /bitcoin reload, it will display an error on the console.
git-Paper-443 (MC: 1.16.5) (Implementing API version 1.16.5-R0.1-SNAPSHOT)
plugins v2.5

org.bukkit.command.CommandException: Unhandled exception executing command 'bitcoin' in plugin Bitcoin v2.5
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[patched_1.16.5.jar:git-Paper-443]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:159) ~[patched_1.16.5.jar:git-Paper-443]
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.dispatchCommand(CraftServer.java:807) ~[patched_1.16.5.jar:git-Paper-443]
at net.minecraft.server.v1_16_R3.PlayerConnection.handleCommand(PlayerConnection.java:2021) ~[patched_1.16.5.jar:git-Paper-443]
at net.minecraft.server.v1_16_R3.PlayerConnection.c(PlayerConnection.java:1832) ~[patched_1.16.5.jar:git-Paper-443]
at net.minecraft.server.v1_16_R3.PlayerConnection.a(PlayerConnection.java:1785) ~[patched_1.16.5.jar:git-Paper-443]
at net.minecraft.server.v1_16_R3.PacketPlayInChat.a(PacketPlayInChat.java:47) ~[patched_1.16.5.jar:git-Paper-443]
at net.minecraft.server.v1_16_R3.PacketPlayInChat.a(PacketPlayInChat.java:5) ~[patched_1.16.5.jar:git-Paper-443]
at net.minecraft.server.v1_16_R3.PlayerConnectionUtils.lambda$ensureMainThread$1(PlayerConnectionUtils.java:23) ~[patched_1.16.5.jar:git-Paper-443]
at net.minecraft.server.v1_16_R3.TickTask.run(SourceFile:18) ~[patched_1.16.5.jar:git-Paper-443]
at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136) ~[patched_1.16.5.jar:git-Paper-443]
at net.minecraft.server.v1_16_R3.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[patched_1.16.5.jar:git-Paper-443]
at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:109) ~[patched_1.16.5.jar:git-Paper-443]
at net.minecraft.server.v1_16_R3.MinecraftServer.bb(MinecraftServer.java:1132) ~[patched_1.16.5.jar:git-Paper-443]
at net.minecraft.server.v1_16_R3.MinecraftServer.executeNext(MinecraftServer.java:1125) ~[patched_1.16.5.jar:git-Paper-443]
at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:119) ~[patched_1.16.5.jar:git-Paper-443]
at net.minecraft.server.v1_16_R3.MinecraftServer.a(MinecraftServer.java:1199) ~[patched_1.16.5.jar:git-Paper-443]
at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:996) ~[patched_1.16.5.jar:git-Paper-443]
at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:173) ~[patched_1.16.5.jar:git-Paper-443]
at java.lang.Thread.run(Thread.java:834) [?:?]
Caused by: java.lang.IllegalStateException: Duplicate recipe ignored with ID bitcoin:computerrecipe
at net.minecraft.server.v1_16_R3.CraftingManager.addRecipe(CraftingManager.java:78) ~[patched_1.16.5.jar:git-Paper-443]
at org.bukkit.craftbukkit.v1_16_R3.inventory.CraftShapedRecipe.addToCraftingManager(CraftShapedRecipe.java:59) ~[patched_1.16.5.jar:git-Paper-443]
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.addRecipe(CraftServer.java:1311) ~[patched_1.16.5.jar:git-Paper-443]
at org.bukkit.Bukkit.addRecipe(Bukkit.java:770) ~[patched_1.16.5.jar:git-Paper-443]
at us.donut.bitcoin.mining.ComputerManager.registerRecipe(ComputerManager.java:98) ~[?:?]
at us.donut.bitcoin.mining.ComputerManager.reload(ComputerManager.java:56) ~[?:?]
at us.donut.bitcoin.Bitcoin.reload(Bitcoin.java:61) ~[?:?]
at us.donut.bitcoin.BitcoinCommand.onCommand(BitcoinCommand.java:65) ~[?:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[patched_1.16.5.jar:git-Paper-443]
... 19 more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant