mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +00:00
don't allow adding player impostors to admin list (#132)
This commit is contained in:
parent
843a6ce88f
commit
4dc63fb756
@ -181,6 +181,12 @@ public class Command_saconfig extends FreedomCommand
|
||||
}
|
||||
}
|
||||
|
||||
if (plugin.pv.isPlayerImpostor(player))
|
||||
{
|
||||
msg("This player was labeled as a Player impostor and is not an admin, therefore they cannot be added to the admin list.", ChatColor.RED);
|
||||
return true;
|
||||
}
|
||||
|
||||
if (admin == null) // New admin
|
||||
{
|
||||
if (plugin.mbl.isMasterBuilderImpostor(player))
|
||||
|
Loading…
Reference in New Issue
Block a user