Extended max length of words on signs
This commit is contained in:
@@ -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