are you kidding kelly

This commit is contained in:
Super_ 2020-07-01 20:29:06 -04:00
parent 5421de0c2f
commit 1357ac7e09

View File

@ -158,9 +158,9 @@ public class Command_myadmin extends FreedomCommand
msg("Your login message cannot be more than 64 characters (excluding your rank and your name)", ChatColor.RED); msg("Your login message cannot be more than 64 characters (excluding your rank and your name)", ChatColor.RED);
return true; return true;
} }
String previewMessage = plugin.rm.craftLoginMessage(targetPlayer, message);
FUtil.adminAction(sender.getName(), "Setting personal login message" + (init == null ? "" : " for " + targetPlayer.getName()), false); FUtil.adminAction(sender.getName(), "Setting personal login message" + (init == null ? "" : " for " + targetPlayer.getName()), false);
target.setLoginMessage(message); target.setLoginMessage(message);
String previewMessage = plugin.rm.craftLoginMessage(targetPlayer, message);
msg((init == null ? "Your" : targetPlayer.getName() + "'s") + " login message is now: "); msg((init == null ? "Your" : targetPlayer.getName() + "'s") + " login message is now: ");
msg("> " + previewMessage); msg("> " + previewMessage);
plugin.al.save(target); plugin.al.save(target);