Quests (Inactive)

150k Downloads

Quests Issue: /questadmin reload NPE

Rookie-G opened this issue ยท 3 comments

commented

Hello, I am writing on behalf of the Flame Survival team.

We have been experiencing an issue on our server with one of the main admin commands from the Quests plugin. ./questadmin reload creates an NPE in console again [-.-], this time the issue has nothing to do with the Citizens plugin I believe.
We are running the latest version of Spigot and Quests for 1.9.4, but we dont understand the cause of the exception with the NPE. We have the NPE in a pastebin here, if anybody cough @FlyingPikachu cough could reply with a possible solution to our query this would be much appreciated.

Thank you for reading,
-Rookie

commented

Your error does not seem to be Citizens-related. Please upload your quests.yml file.

commented

Theres a lot of quests btw. I use the plugin for GUI shops, welcome tutorials and inventory bins.

commented

@Rookie-G The last quest in your config, "custom42", has a null rewards value. Removing that line fixed the issue in my tests, so I suggest you do the same. I will update the plugin to spit out a warning in similar situations.

To illustrate, the problem is here:

rewards:
  items:
  - null
  - name-GOLD_PICKAXE:amount-1:enchantment-Efficiency