Added another missed save statement

This commit is contained in:
Nathan Curran 2021-03-07 15:53:19 +11:00
parent 02e1df6e9c
commit c9972c2879
No known key found for this signature in database
GPG key ID: B3A964B30C2E56B8

View file

@ -62,6 +62,7 @@ public class SetRankSubcommand extends Common implements CommandExecutor
for (GuildRank gr : guild.getRanks()) for (GuildRank gr : guild.getRanks())
{ {
gr.getMembers().remove(r.getUniqueId()); gr.getMembers().remove(r.getUniqueId());
gr.save();
} }
sender.sendMessage(tl(PREFIX + "Removed the rank of %s%" + r.getName() + "%p% in your guild.")); sender.sendMessage(tl(PREFIX + "Removed the rank of %s%" + r.getName() + "%p% in your guild."));