Added missing save command

2.x-1.16
szymon 2021-07-07 14:21:22 +02:00
parent cdd2b78c43
commit a0c7b478cb
2 changed files with 2 additions and 0 deletions

View File

@ -68,6 +68,7 @@ public class BlacklistCommand {
if(config.get().playerWhitelist.contains(player.getEntityName())){
config.get().playerWhitelist.remove(player.getEntityName());
config.save();
builder.append(" and removed form the whitelist");
}

View File

@ -68,6 +68,7 @@ public class WhitelistCommand {
if(config.get().playerBlacklist.contains(player.getEntityName())){
config.get().playerBlacklist.remove(player.getEntityName());
config.save();
builder.append(" and removed form the blacklist");
}