Added missing save command
parent
cdd2b78c43
commit
a0c7b478cb
|
@ -68,6 +68,7 @@ public class BlacklistCommand {
|
||||||
|
|
||||||
if(config.get().playerWhitelist.contains(player.getEntityName())){
|
if(config.get().playerWhitelist.contains(player.getEntityName())){
|
||||||
config.get().playerWhitelist.remove(player.getEntityName());
|
config.get().playerWhitelist.remove(player.getEntityName());
|
||||||
|
config.save();
|
||||||
builder.append(" and removed form the whitelist");
|
builder.append(" and removed form the whitelist");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -68,6 +68,7 @@ public class WhitelistCommand {
|
||||||
|
|
||||||
if(config.get().playerBlacklist.contains(player.getEntityName())){
|
if(config.get().playerBlacklist.contains(player.getEntityName())){
|
||||||
config.get().playerBlacklist.remove(player.getEntityName());
|
config.get().playerBlacklist.remove(player.getEntityName());
|
||||||
|
config.save();
|
||||||
builder.append(" and removed form the blacklist");
|
builder.append(" and removed form the blacklist");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue