Fix unlogging quests (#2226)

This commit is contained in:
Nazrin 2023-06-23 20:03:14 -07:00 committed by GitHub
parent 55840bcdb6
commit 9fd5f7665c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -112,7 +112,7 @@ public final class QuestCommand implements CommandHandler {
var shouldAdd = !loggedQuests.contains(questId);
if (shouldAdd) loggedQuests.add(questId);
else loggedQuests.remove(questId);
else loggedQuests.remove(loggedQuests.indexOf(questId));
CommandHandler.sendMessage(
sender,