From 30fd3ea6a1ac3ad0dc0cce46b46d78ea2ce81bbd Mon Sep 17 00:00:00 2001 From: Super_ Date: Thu, 16 Jul 2020 00:45:44 -0400 Subject: [PATCH] increase login char limit --- .../totalfreedom/totalfreedommod/command/Command_myadmin.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/me/totalfreedom/totalfreedommod/command/Command_myadmin.java b/src/main/java/me/totalfreedom/totalfreedommod/command/Command_myadmin.java index 5ad14123..7c4854b6 100644 --- a/src/main/java/me/totalfreedom/totalfreedommod/command/Command_myadmin.java +++ b/src/main/java/me/totalfreedom/totalfreedommod/command/Command_myadmin.java @@ -153,9 +153,9 @@ public class Command_myadmin extends FreedomCommand return true; } int length = message.replace("%name%", "").replace("%rank%", "").replace("%coloredrank%", "").length(); - if (length > 64) + if (length > 100) { - 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 100 characters (excluding your rank and your name)", ChatColor.RED); return true; } FUtil.adminAction(sender.getName(), "Setting personal login message" + (init == null ? "" : " for " + targetPlayer.getName()), false);