Do not add permissions twice

This commit is contained in:
PikaMug 2021-01-30 21:27:24 -05:00
parent 1121d5b4c7
commit 9fd06bc3ee

View File

@ -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);