mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +00:00
Merge pull request #16 from Wild1145/patch-4
Added warning in MOTD if in adminmode=true
This commit is contained in:
commit
ff51bb1980
@ -727,5 +727,9 @@ public class TFM_PlayerListener implements Listener
|
||||
{
|
||||
event.setMotd(ChatColor.RED + "You are banned!");
|
||||
}
|
||||
if (TotalFreedomMod.adminOnlyMode(event.getAddress().getHostAddress()))
|
||||
{
|
||||
event.setMotd(ChatColor.RED + "Server in AdminMode!");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user