Closed Broseten closed 1 year ago
Actually the title seems to be null for the "template book" in the plugin (it is trying to check the title for signed book). But we actually didn't want to check the title since it was different for each player. So maybe just add the hasTitle() check everywhere :D
@Broseten Please try https://ci.codemc.io/job/PikaMug/job/Quests/418/
Perfect, now it works! We can finally do what we need to! (btw, we actually have a research project and use Minecraft to build some educational platforms) Thanks :))
What is your Quests version / build number (do not say "latest")?
Quests-4.8.1
Describe the problem and how to replicate it.
We have a custom plugin that creates a book but does not set the title. "Plugins should check that hasTitle() returns true before calling this method." -- BookMeta.getTitle() From: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/inventory/meta/BookMeta.html#getTitle()
When trying to give this book to an NPC to progress a quest, we got a null reference error.
We fixed in on our side by updating the plugin, but still it would be good to fix it. :) Thx, keep up the good work.
Any console errors to share?
If applicable, can you provide an example quest from quests.yml?
No response