2 bugs report / Command to execute & mob spawn list
flthibaud opened this issue ยท 0 comments
Hello,
We are using your puglin Quests and we are facing some bugs.
- The first one is with the events or reward "Command to execute" :
I try to use this command : setblock xx yy zz redstone_block
But this one doesn't work and create errors, here is the log of the error.
[18:18:34] [Server thread/ERROR]: Could not pass event PlayerMoveEvent to Quests v2.6.0-b99
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[Spigot-v1_9_2.jar:git-Spigot-1480adb-6247aa0]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[Spigot-v1_9_2.jar:git-Spigot-1480adb-6247aa0]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [Spigot-v1_9_2.jar:git-Spigot-1480adb-6247aa0]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [Spigot-v1_9_2.jar:git-Spigot-1480adb-6247aa0]
at net.minecraft.server.v1_9_R1.PlayerConnection.a(PlayerConnection.java:608) [Spigot-v1_9_2.jar:git-Spigot-1480adb-6247aa0]
at net.minecraft.server.v1_9_R1.PacketPlayInFlying.a(SourceFile:126) [Spigot-v1_9_2.jar:git-Spigot-1480adb-6247aa0]
at net.minecraft.server.v1_9_R1.PacketPlayInFlying$PacketPlayInPositionLook.a(SourceFile:18) [Spigot-v1_9_2.jar:git-Spigot-1480adb-6247aa0]
at net.minecraft.server.v1_9_R1.PlayerConnectionUtils$1.run(SourceFile:13) [Spigot-v1_9_2.jar:git-Spigot-1480adb-6247aa0]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_60]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_60]
at net.minecraft.server.v1_9_R1.SystemUtils.a(SourceFile:45) [Spigot-v1_9_2.jar:git-Spigot-1480adb-6247aa0]
at net.minecraft.server.v1_9_R1.MinecraftServer.D(MinecraftServer.java:721) [Spigot-v1_9_2.jar:git-Spigot-1480adb-6247aa0]
at net.minecraft.server.v1_9_R1.DedicatedServer.D(DedicatedServer.java:400) [Spigot-v1_9_2.jar:git-Spigot-1480adb-6247aa0]
at net.minecraft.server.v1_9_R1.MinecraftServer.C(MinecraftServer.java:660) [Spigot-v1_9_2.jar:git-Spigot-1480adb-6247aa0]
at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:559) [Spigot-v1_9_2.jar:git-Spigot-1480adb-6247aa0]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_60]
Caused by: java.lang.NoClassDefFoundError: org/bukkit/craftbukkit/v1_8_R1/entity/CraftEntity
at me.blackvein.quests.util.QuestMob.spawn(QuestMob.java:107) ~[?:?]
at me.blackvein.quests.Event.fire(Event.java:252) ~[?:?]
at me.blackvein.quests.Quest.setStage(Quest.java:155) ~[?:?]
at me.blackvein.quests.Quest.nextStage(Quest.java:114) ~[?:?]
at me.blackvein.quests.Quester.finishObjective(Quester.java:1522) ~[?:?]
at me.blackvein.quests.Quester.reachLocation(Quester.java:1223) ~[?:?]
at me.blackvein.quests.PlayerListener.onPlayerMove(PlayerListener.java:1006) ~[?:?]
at sun.reflect.GeneratedMethodAccessor52.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_60]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_60]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[Spigot-v1_9_2.jar:git-Spigot-1480adb-6247aa0]
... 15 more
Caused by: java.lang.ClassNotFoundException: org.bukkit.craftbukkit.v1_8_R1.entity.CraftEntity
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:91) ~[Spigot-v1_9_2.jar:git-Spigot-1480adb-6247aa0]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86) ~[Spigot-v1_9_2.jar:git-Spigot-1480adb-6247aa0]
at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_60]
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_60]
at me.blackvein.quests.util.QuestMob.spawn(QuestMob.java:107) ~[?:?]
at me.blackvein.quests.Event.fire(Event.java:252) ~[?:?]
at me.blackvein.quests.Quest.setStage(Quest.java:155) ~[?:?]
at me.blackvein.quests.Quest.nextStage(Quest.java:114) ~[?:?]
at me.blackvein.quests.Quester.finishObjective(Quester.java:1522) ~[?:?]
at me.blackvein.quests.Quester.reachLocation(Quester.java:1223) ~[?:?]
at me.blackvein.quests.PlayerListener.onPlayerMove(PlayerListener.java:1006) ~[?:?]
at sun.reflect.GeneratedMethodAccessor52.invoke(Unknown Source) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_60]
at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_60]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[Spigot-v1_9_2.jar:git-Spigot-1480adb-6247aa0]
... 15 more
- The second one is with the events and the list of mob to spawn.
When I'm making a list of mob to spawn I can add one mob. Done. When I try to add a new mob, I enter his name type... And when i try to do 15 for "Done" it does nothing. Here is the error log :
[19:08:21] [Server thread/ERROR]: Error handling conversation prompt
java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
at java.util.LinkedList.checkElementIndex(LinkedList.java:555) ~[?:1.8.0_60]
at java.util.LinkedList.set(LinkedList.java:490) ~[?:1.8.0_60]
at me.blackvein.quests.EventFactory$QuestMobPrompt.acceptInput(EventFactory.java:2140) ~[?:?]
at org.bukkit.conversations.Conversation.acceptInput(Conversation.java:229) [Spigot-v1_9_2.jar:git-Spigot-1480adb-6247aa0]
at org.bukkit.craftbukkit.v1_9_R1.conversations.ConversationTracker.acceptConversationInput(ConversationTracker.java:58) [Spigot-v1_9_2.jar:git-Spigot-1480adb-6247aa0]
at org.bukkit.craftbukkit.v1_9_R1.entity.CraftPlayer.acceptConversationInput(CraftPlayer.java:1026) [Spigot-v1_9_2.jar:git-Spigot-1480adb-6247aa0]
at net.minecraft.server.v1_9_R1.PlayerConnection$5.evaluate(PlayerConnection.java:1199) [Spigot-v1_9_2.jar:git-Spigot-1480adb-6247aa0]
at org.bukkit.craftbukkit.v1_9_R1.util.Waitable.run(Waitable.java:24) [Spigot-v1_9_2.jar:git-Spigot-1480adb-6247aa0]
at net.minecraft.server.v1_9_R1.MinecraftServer.D(MinecraftServer.java:735) [Spigot-v1_9_2.jar:git-Spigot-1480adb-6247aa0]
at net.minecraft.server.v1_9_R1.DedicatedServer.D(DedicatedServer.java:400) [Spigot-v1_9_2.jar:git-Spigot-1480adb-6247aa0]
at net.minecraft.server.v1_9_R1.MinecraftServer.C(MinecraftServer.java:660) [Spigot-v1_9_2.jar:git-Spigot-1480adb-6247aa0]
at net.minecraft.server.v1_9_R1.MinecraftServer.run(MinecraftServer.java:559) [Spigot-v1_9_2.jar:git-Spigot-1480adb-6247aa0]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_60]
Thank you for your time