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