You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to use the Party condition, but it always failed. After more than a hour, I managed to work. But it will only work, when I use all of the "optional" options.
Normaly this should work: hasParty: party 10 hasTag every:hasArmor count:2
But when I do it thia way, I get an error in console, after clicking on the NPC with this condition. So I tested several things, till I get to this Point.
This is working: hasParty: party 10 hasTag every:hasArmor any:hasHealth count:1
But at the point, when I delet one of the options (every,any,count) the error occurs.
Console log:
[23:31:44] [Craft Scheduler Thread - 65/WARN]: Exception in thread "Craft Scheduler Thread - 65"
[23:31:44] [Craft Scheduler Thread - 65/WARN]: org.apache.commons.lang.UnhandledException: Plugin BetonQuest v1.9-dev#185 generated an exception while executing task 1678
at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at pl.betoncraft.betonquest.conditions.PartyCondition.check(PartyCondition.java:96)
at pl.betoncraft.betonquest.BetonQuest.condition(BetonQuest.java:825)
at pl.betoncraft.betonquest.conversation.Conversation.selectOption(Conversation.java:182)
at pl.betoncraft.betonquest.conversation.Conversation.access$700(Conversation.java:56)
at pl.betoncraft.betonquest.conversation.Conversation$Starter.run(Conversation.java:488)
at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftTask.run(CraftTask.java:71)
at org.bukkit.craftbukkit.v1_10_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
... 3 more
The text was updated successfully, but these errors were encountered:
Spigot Version: 1.10.2-R0.1
BetonQuest Version: #185
e47983d2bb
23.06.2016 20:05:57I tried to use the Party condition, but it always failed. After more than a hour, I managed to work. But it will only work, when I use all of the "optional" options.
Normaly this should work:
hasParty: party 10 hasTag every:hasArmor count:2
But when I do it thia way, I get an error in console, after clicking on the NPC with this condition. So I tested several things, till I get to this Point.
This is working:
hasParty: party 10 hasTag every:hasArmor any:hasHealth count:1
But at the point, when I delet one of the options (
every,any,count
) the error occurs.Console log:
The text was updated successfully, but these errors were encountered: