EpicQuest

EpicQuest

42.2k Downloads

Duplicate quests and errors

madtomic opened this issue · 2 comments

commented

Duplicate quests...

This is using citizens as quest giver.

Example:
Quest giver: Guide – gives quest DefaultArea0_0

New Player joined for the first time,
Talk to NPC or right click.
Check quest book. It will show 3: Welcome
I can’t explain the number assign. It seems like it skip to 3.

How to duplicate quests?
Log off
Log back in and talk to same npc again.
You will get the same starter quest again.

Sometimes, you would get this error instead.

[14:05:03 ERROR]: Could not pass event PlayerInteractEntityEvent to EpicQuest v3.5
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
va:305) ~[spigot_server.jar:git-Spigot-13716d9-0899683]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
a:62) [spigot_server.jar:git-Spigot-13716d9-0899683]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j
ava:502) [spigot_server.jar:git-Spigot-13716d9-0899683]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
ava:487) [spigot_server.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.PlayerConnection.a(PlayerConnection.java
:1268) [spigot_server.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.PacketPlayInUseEntity.a(SourceFile:52) [
spigot_server.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.PacketPlayInUseEntity.a(SourceFile:11) [spigot_server.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.PacketHandleTask.run(SourceFile:13) [spigot_server.jar:git-Spigot-13716d9-0899683]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_25]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_25]
at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:683) [spigot_server.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316) [spigot_server.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:623) [spigot_server.jar:git-Spigot-13716d9-0899683]
at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:526) [spigot_server.jar:git-Spigot-13716d9-0899683]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_25]
Caused by: java.lang.NullPointerException
at randy.questentities.QuestEntity.NextInteraction(QuestEntity.java:78)
[?:?]
at randy.listeners.PlayerInteractListener.onPlayerInteractEntity(PlayerInteractListener.java:92) [?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_25]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_25]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_25]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301) ~[spigot_server.jar:git-Spigot-13716d9-0899683]
... 14 more

commented

I forgot to mention. If the server is restarted. The duplicate happens.

commented

Quite sure it's fixed: e7c00ad