CitizensDev/Citizens — Issue #286: Quest Talknpc (delivery air)
Author: Meph91
Created: 2011-10-12 18:01:21+00:00
State: open

Tried do make a quest, so that someone must talk to another npc with the delivery objective. I have read that it would be possible. But he always says me, quest isn't completed and with /quest status the console give me:

2011-10-12 19:58:06 [SEVERE] java.lang.NullPointerException
2011-10-12 19:58:06 [SEVERE]	at net.citizensnpcs.utils.StringUtils.format(StringUtils.java:249)
2011-10-12 19:58:06 [SEVERE]	at net.citizensnpcs.utils.StringUtils.format(StringUtils.java:245)
2011-10-12 19:58:06 [SEVERE]	at net.citizensnpcs.utils.StringUtils.formatter(StringUtils.java:277)
2011-10-12 19:58:06 [SEVERE]	at net.citizensnpcs.questers.quests.types.DeliveryQuest.getStatus(DeliveryQuest.java:65)
2011-10-12 19:58:06 [SEVERE]	at net.citizensnpcs.questers.QuesterCommands.viewCurrentQuestStatus(QuesterCommands.java:415)
2011-10-12 19:58:06 [SEVERE]	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2011-10-12 19:58:06 [SEVERE]	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
2011-10-12 19:58:06 [SEVERE]	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2011-10-12 19:58:06 [SEVERE]	at java.lang.reflect.Method.invoke(Method.java:601)
2011-10-12 19:58:06 [SEVERE]	at net.citizensnpcs.resources.sk89q.CommandsManager.executeMethod(CommandsManager.java:522)
2011-10-12 19:58:06 [SEVERE]	at net.citizensnpcs.resources.sk89q.CommandsManager.execute(CommandsManager.java:406)
2011-10-12 19:58:06 [SEVERE]	at net.citizensnpcs.Citizens.onCommand(Citizens.java:202)
2011-10-12 19:58:06 [SEVERE]	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
2011-10-12 19:58:06 [SEVERE]	at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
2011-10-12 19:58:06 [SEVERE]	at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:358)
2011-10-12 19:58:06 [SEVERE]	at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:757)
2011-10-12 19:58:06 [SEVERE]	at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:722)
2011-10-12 19:58:06 [SEVERE]	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715)
2011-10-12 19:58:06 [SEVERE]	at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
2011-10-12 19:58:06 [SEVERE]	at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
2011-10-12 19:58:06 [SEVERE]	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
2011-10-12 19:58:06 [SEVERE]	at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
2011-10-12 19:58:06 [SEVERE]	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
2011-10-12 19:58:06 [SEVERE]	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
2011-10-12 19:58:06 [SEVERE]	at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)

This is my quest file:

Tutorial:
texts:
description: Go to the guard.
completion: Good.
acceptance: Alright.
repeats: 1
objectives:
'0':
'0':
type: delivery
item: 0
npcdestination: 10
rewards:
'0':
type: money
money: 2
give: true