Fixed GameScoreboard demanding strings are shortened to 15 chars when the max is 16

This commit is contained in:
libraryaddict 2015-03-15 12:35:39 +13:00
parent e9fe1fb423
commit ba04c5e834

View File

@ -192,8 +192,8 @@ public class GameScoreboard
public String Clean(String line)
{
if (line.length() >= 16)
line = line.substring(0, 15);
if (line.length() > 16)
line = line.substring(0, 16);
return line;
}