mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +00:00
commit
328225fe6e
@ -284,6 +284,12 @@ public class Command_saconfig extends FreedomCommand
|
|||||||
|
|
||||||
FUtil.adminAction(sender.getName(), "Removing " + admin.getName() + " from the admin list", true);
|
FUtil.adminAction(sender.getName(), "Removing " + admin.getName() + " from the admin list", true);
|
||||||
admin.setActive(false);
|
admin.setActive(false);
|
||||||
|
|
||||||
|
if (plugin.pl.getPlayer(player).inAdminChat())
|
||||||
|
{
|
||||||
|
plugin.pl.getPlayer(player).setAdminChat(false);
|
||||||
|
}
|
||||||
|
|
||||||
plugin.al.save(admin);
|
plugin.al.save(admin);
|
||||||
plugin.al.updateTables();
|
plugin.al.updateTables();
|
||||||
if (player != null)
|
if (player != null)
|
||||||
|
Loading…
Reference in New Issue
Block a user