mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-12 05:34:45 +01:00
Do not add permissions twice
This commit is contained in:
parent
1121d5b4c7
commit
9fd06bc3ee
@ -996,7 +996,6 @@ public class RewardsPrompt extends QuestsEditorNumericPrompt {
|
||||
permissions.add(s.trim());
|
||||
}
|
||||
}
|
||||
permissions.addAll(Arrays.asList(args));
|
||||
context.setSessionData(CK.REW_PERMISSION, permissions);
|
||||
} else if (input.equalsIgnoreCase(Lang.get("cmdClear"))) {
|
||||
context.setSessionData(CK.REW_PERMISSION, null);
|
||||
|
Loading…
Reference in New Issue
Block a user