mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-30 22:53:33 +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) {
|
||||
Quester q = this;
|
||||
this.questToTake = questToTake;
|
||||
if (plugin.getQuesters().contains(q)) {
|
||||
plugin.getQuesters().remove(q);
|
||||
plugin.getQuesters().add(this);
|
||||
}
|
||||
}
|
||||
|
||||
public int getQuestPoints() {
|
||||
|
Loading…
Reference in New Issue
Block a user