Skip to content

Quest not being offered #9

@Schlichtinator

Description

@Schlichtinator

I swing the book, and this occurs in the console:

[SEVERE] Exception while calling plugin function in 'class CraftizensListener' while calling hook: 'ARM_SWING'.
java.lang.NullPointerException
at CraftizenFlatfileDataSource.getAvailableQuests(CraftizenFlatfileDataSource.java:175)
at Craftizen.interact(Craftizen.java:64)
at CraftizensListener.onArmSwing(CraftizensListener.java:679)
at PluginLoader.callHook(PluginLoader.java:514)
at kk.a(kk.java:523)
at v.a(SourceFile:39)
at bs.a(SourceFile:232)
at kk.a(kk.java:61)
at eh.a(eh.java:71)
at net.minecraft.server.MinecraftServer.h(SourceFile:275)
at net.minecraft.server.MinecraftServer.run(SourceFile:216)
at cj.run(SourceFile:490)

With this quest file:

id=Gawain1
quest_name=Grains for Gawain
quest_type=harvest
quest_desc=I'm low on wheat, and there's a big sale tomorrow. Can you go harvest a stack (64) of wheat for me? I'll pay you for helping me.
start_npc=Gawain
end_npc=Gawain
prereq=
items_provided=
rewards=
location=
data=Wheat,296,64
completion_text=My goodness, thank you! Now I can start baking bread. Here's some coin for your troubles. Come back and help again if you have the time; it's awfully difficult running a bakery alone.
rankreq=default
rankreward=
cost=0
prize=150

and this properties file:

debug-mode=false
npc-name-prefix= *
npc-name-suffix= *
quest-text-color=
npc-interact-item=340
npc-interact-item-2=340
npc-interact-range=4
npc-interact-angle-variation=25
qadmin-boundary-marker=340
quests-enabled=true
flatfile-data-enabled=true
data-source-driver-name=
data-source-connection-url=
data-source-username=
data-source-password=

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions