mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2025-07-02 04:56:40 +00:00
Fixed bugs in TFM 5.0
Added /saconfig setrank Added /saconfig reload Small changes
This commit is contained in:
@ -46,7 +46,7 @@ public class Command_warn extends FreedomCommand
|
||||
|
||||
String warnReason = StringUtils.join(ArrayUtils.subarray(args, 1, args.length), " ");
|
||||
|
||||
msg(ChatColor.RED + "[WARNING] " + warnReason);
|
||||
msg(player, ChatColor.RED + "[WARNING] You received a warning: " + warnReason);
|
||||
msg(ChatColor.GREEN + "You have successfully warned " + player.getName());
|
||||
|
||||
plugin.pl.getPlayer(player).incrementWarnings();
|
||||
|
Reference in New Issue
Block a user