Skip to content

Commit

Permalink
Save reminds on toggle reminders command
Browse files Browse the repository at this point in the history
  • Loading branch information
BenCodez committed Feb 1, 2024
1 parent d36cd47 commit 0c1cccf
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 0c1cccf

Please sign in to comment.