Skip to content

Commit

Permalink
Fix unlogging quests (#2226)
Browse files Browse the repository at this point in the history
  • Loading branch information
scooterboo authored Jun 24, 2023
1 parent 55840bc commit 9fd5f76
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public void execute(Player sender, Player targetPlayer, List<String> args) {
var shouldAdd = !loggedQuests.contains(questId);

if (shouldAdd) loggedQuests.add(questId);
else loggedQuests.remove(questId);
else loggedQuests.remove(loggedQuests.indexOf(questId));

CommandHandler.sendMessage(
sender,
Expand Down

0 comments on commit 9fd5f76

Please sign in to comment.