Extended max length of words on signs
This commit is contained in:
parent
6280373e4a
commit
4ff2237c2a
|
|
@ -183,8 +183,8 @@ public class ShopUtil {
|
|||
++pos;
|
||||
}
|
||||
|
||||
if (sb.length() > 10)
|
||||
return Component.text(sb.substring(0, 8), NamedTextColor.WHITE).append(Component.text("!", NamedTextColor.RED));
|
||||
if (sb.length() > 12)
|
||||
return Component.text(sb.substring(0, 10), NamedTextColor.WHITE).append(Component.text("...", NamedTextColor.WHITE));
|
||||
return Component.text(sb.toString(), NamedTextColor.WHITE);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user