From 9fd06bc3eee56b8cebd3d1f1465f4c2ad72b30a5 Mon Sep 17 00:00:00 2001 From: PikaMug <2267126+PikaMug@users.noreply.github.com> Date: Sat, 30 Jan 2021 21:27:24 -0500 Subject: [PATCH] Do not add permissions twice --- .../me/blackvein/quests/convo/quests/rewards/RewardsPrompt.java | 1 - 1 file changed, 1 deletion(-) diff --git a/main/src/main/java/me/blackvein/quests/convo/quests/rewards/RewardsPrompt.java b/main/src/main/java/me/blackvein/quests/convo/quests/rewards/RewardsPrompt.java index 5766639f6..95781c256 100644 --- a/main/src/main/java/me/blackvein/quests/convo/quests/rewards/RewardsPrompt.java +++ b/main/src/main/java/me/blackvein/quests/convo/quests/rewards/RewardsPrompt.java @@ -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);