mirror of
https://github.com/TotalFreedomMC/TFGuilds.git
synced 2024-12-22 07:55:03 +00:00
Added another missed save statement
This commit is contained in:
parent
02e1df6e9c
commit
c9972c2879
1 changed files with 1 additions and 0 deletions
|
@ -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."));
|
||||||
|
|
Loading…
Reference in a new issue