diff --git a/src/main/java/me/totalfreedom/totalfreedommod/ChatManager.java b/src/main/java/me/totalfreedom/totalfreedommod/ChatManager.java index 5795d20..deeace9 100644 --- a/src/main/java/me/totalfreedom/totalfreedommod/ChatManager.java +++ b/src/main/java/me/totalfreedom/totalfreedommod/ChatManager.java @@ -51,10 +51,10 @@ public class ChatManager extends FreedomService // Strip color from messages message = ChatColor.stripColor(message); - // Truncate messages that are too long - 100 characters is vanilla client max - if (message.length() > 100) + // Truncate messages that are too long - 256 characters is vanilla client max + if (message.length() > 256) { - message = message.substring(0, 100); + message = message.substring(0, 256); FSync.playerMsg(player, "Message was shortened because it was too long to send."); }