PluginBugs / Issues-VanillaCustomizer

0 stars 0 forks source link

ERROR -> /vanillacustomizer small #5

Closed Aitooor closed 3 months ago

Aitooor commented 10 months ago

Terms

Discord tag (optional)

aitooor

What happened?

Error when executing command. I would also like to say that there is no information about the commands in the wiki. So looking at the error I know that you have to add a String, but I don't know what the String is for.

Steps to reproduce the issue

  1. Use the command /vanillacustomizer small
  2. Get the stack trace

Server version

[00:46:49 INFO]: This server is running Pufferfish version git-Pufferfish-42 (MC: 1.20.4) (Implementing API version 1.20.4-R0.1-SNAPSHOT) (Git: 8e208d3 on HEAD)

VanillaCustomizer Version

[00:47:38 INFO]: VanillaCustomizer version 0.2

ProtocolLib Version

[00:48:01 INFO]: ProtocolLib version 5.2.0-SNAPSHOT-679 [00:48:01 INFO]: Provides read/write access to the Minecraft protocol. [00:48:01 INFO]: Authors: dmulloy2 and comphenix

LoneLibs Version

[00:48:20 INFO]: LoneLibs version 1.0.45 [00:48:20 INFO]: Collection of libs used by my plugins [00:48:20 INFO]: Authors: LoneDev and others

FULL server log

No response

Error (optional)

[00:28:43 INFO]: Aitooor issued server command: /vanillacustomizer small
[00:28:43 ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing command 'vanillacustomizer' in plugin VanillaCustomizer v0.2
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:47) ~[pufferfish-api-1.20.4-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:155) ~[pufferfish-api-1.20.4-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.craftbukkit.v1_20_R3.CraftServer.dispatchCommand(CraftServer.java:987) ~[pufferfish-1.20.4.jar:git-Pufferfish-42]
        at org.bukkit.craftbukkit.v1_20_R3.command.BukkitCommandWrapper.run(BukkitCommandWrapper.java:64) ~[pufferfish-1.20.4.jar:git-Pufferfish-42]
        at com.mojang.brigadier.context.ContextChain.runExecutable(ContextChain.java:73) ~[brigadier-1.2.9.jar:?]
        at net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:32) ~[pufferfish-1.20.4.jar:git-Pufferfish-42]
        at net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:19) ~[pufferfish-1.20.4.jar:git-Pufferfish-42]
        at net.minecraft.commands.execution.UnboundEntryAction.lambda$bind$0(UnboundEntryAction.java:8) ~[pufferfish-1.20.4.jar:git-Pufferfish-42]
        at net.minecraft.commands.execution.CommandQueueEntry.a(CommandQueueEntry.java:5) ~[pufferfish-1.20.4.jar:git-Pufferfish-42]
        at net.minecraft.commands.execution.ExecutionContext.runCommandQueue(ExecutionContext.java:101) ~[pufferfish-1.20.4.jar:git-Pufferfish-42]
        at net.minecraft.commands.Commands.executeCommandInContext(Commands.java:435) ~[?:?]
        at net.minecraft.commands.Commands.performCommand(Commands.java:336) ~[?:?]
        at net.minecraft.commands.Commands.performCommand(Commands.java:323) ~[?:?]
        at net.minecraft.server.network.ServerGamePacketListenerImpl.performChatCommand(ServerGamePacketListenerImpl.java:2237) ~[?:?]
        at net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$handleChatCommand$16(ServerGamePacketListenerImpl.java:2197) ~[?:?]
        at net.minecraft.util.thread.BlockableEventLoop.lambda$submitAsync$0(BlockableEventLoop.java:59) ~[?:?]
        at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
        at net.minecraft.server.TickTask.run(TickTask.java:18) ~[pufferfish-1.20.4.jar:git-Pufferfish-42]
        at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:153) ~[?:?]
        at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[?:?]
        at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1460) ~[pufferfish-1.20.4.jar:git-Pufferfish-42]
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:194) ~[pufferfish-1.20.4.jar:git-Pufferfish-42]
        at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:126) ~[?:?]
        at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1437) ~[pufferfish-1.20.4.jar:git-Pufferfish-42]
        at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1360) ~[pufferfish-1.20.4.jar:git-Pufferfish-42]
        at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:136) ~[?:?]
        at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1338) ~[pufferfish-1.20.4.jar:git-Pufferfish-42]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1228) ~[pufferfish-1.20.4.jar:git-Pufferfish-42]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:323) ~[pufferfish-1.20.4.jar:git-Pufferfish-42]
        at java.lang.Thread.run(Thread.java:833) ~[?:?]
Caused by: java.lang.ArrayIndexOutOfBoundsException: Index 1 out of bounds for length 1
        at dev.lone.vanillacustomizer.main.k.a(SourceFile:63) ~[VanillaCustomizer-0.2.jar:?]
        at dev.lone.vanillacustomizer.main.i.onCommand(SourceFile:26) ~[VanillaCustomizer-0.2.jar:?]
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:45) ~[pufferfish-api-1.20.4-R0.1-SNAPSHOT.jar:?]
        ... 29 more

Other files, you can drag and drop them here to upload. (optional)

No response

Screenshots/Videos (you can drag and drop files or paste links)

No response

github-actions[bot] commented 10 months ago

Hello, your report will be looked into as soon as possible. Please do not bump this thread and don't post it on multiple platforms.

Thanks a lot for your patience.