Possible fix for #946

This commit is contained in:
PikaMug 2019-09-25 23:59:21 -04:00
parent c0e97f8a8a
commit 654a8e8962

View File

@ -236,7 +236,12 @@ public class Quester {
} }
public void setQuestToTake(String questToTake) { public void setQuestToTake(String questToTake) {
Quester q = this;
this.questToTake = questToTake; this.questToTake = questToTake;
if (plugin.getQuesters().contains(q)) {
plugin.getQuesters().remove(q);
plugin.getQuesters().add(this);
}
} }
public int getQuestPoints() { public int getQuestPoints() {