mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-22 08:47:39 +00:00
Fix unlogging quests (#2226)
This commit is contained in:
parent
55840bcdb6
commit
9fd5f7665c
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user