mirror of
https://github.com/PikaMug/Quests.git
synced 2024-12-01 07:03:55 +01:00
Possible fix for #946
This commit is contained in:
parent
c0e97f8a8a
commit
654a8e8962
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user