mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-22 18:45:27 +01:00
Attempt fix for #111
This commit is contained in:
parent
629c80b2a0
commit
46c38c486b
@ -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())) {
|
||||
|
Loading…
Reference in New Issue
Block a user