Attempt fix for #111

This commit is contained in:
HappyPikachu 2015-05-09 09:48:59 -04:00
parent 629c80b2a0
commit 46c38c486b

View File

@ -2605,6 +2605,11 @@ public class Quests extends JavaPlugin implements ConversationAbandonedListener,
quester = new Quester(this);
quester.id = id;
if (quester.loadData() == false && !questerBlacklist.contains(id.toString())) {
if (citizens != null) {
if (citizens.getNPCRegistry().getByUniqueId(id) != null) {
return quester;
}
}
getLogger().info("Quester not found for UUID \"" + id.toString() + "\". Consider adding them to the Quester blacklist.");
} else {
if (debug == true && !questerBlacklist.contains(id.toString())) {