From 0c1cccfdcdb0b99657a2ae29f62cc0d034dd5c14 Mon Sep 17 00:00:00 2001 From: BenCodez Date: Wed, 31 Jan 2024 20:57:05 -0500 Subject: [PATCH] Save reminds on toggle reminders command --- .../src/com/bencodez/votingplugin/commands/CommandLoader.java | 1 + 1 file changed, 1 insertion(+) diff --git a/VotingPlugin/src/com/bencodez/votingplugin/commands/CommandLoader.java b/VotingPlugin/src/com/bencodez/votingplugin/commands/CommandLoader.java index 20e123132..fac91184b 100644 --- a/VotingPlugin/src/com/bencodez/votingplugin/commands/CommandLoader.java +++ b/VotingPlugin/src/com/bencodez/votingplugin/commands/CommandLoader.java @@ -2051,6 +2051,7 @@ public void execute(CommandSender sender, String[] args) { plugin.getVoteReminding().getRemindersEnabled().put(p.getUniqueId(), value); plugin.getPlaceholders().onUpdate( plugin.getVotingPluginUserManager().getVotingPluginUser(p.getUniqueId(), p.getName()), true); + plugin.getVoteReminding().saveReminds(); if (value) { sendMessage(sender, plugin.getConfigFile().getFormatCommandsVoteToggleRemindersEnabled());