admin chat discord formatting (FS-59)

This commit is contained in:
speed
2020-12-26 18:54:15 -05:00
parent 210b0f8b43
commit b9606fa0e3
16 changed files with 107 additions and 38 deletions

View File

@ -40,7 +40,7 @@ public class CommandBlockerEntry
{
if (action == CommandBlockerAction.BLOCK_AND_EJECT && sender instanceof Player)
{
TotalFreedomMod.plugin().ae.autoEject((Player)sender, "You used a prohibited command: " + command);
TotalFreedomMod.getPlugin().ae.autoEject((Player)sender, "You used a prohibited command: " + command);
FUtil.bcastMsg(sender.getName() + " was automatically kicked for using harmful commands.", ChatColor.RED);
return;
}