Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- System.out.println("Message is too long and is this long: " + msg.length());
- if (msg.length() >= 119){
- String cutMsg = msg.substring(0,118);
- String newMsg = msg.substring(119);
- server.f.a(new OPacket3Chat(cutMsg));
- messageAll(newMsg);
- }
Advertisement
Add Comment
Please, Sign In to add comment