mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2025-01-26 16:41:18 +01:00
Refactoring
This commit is contained in:
parent
87c6ea8fc8
commit
165f3f204a
@ -28,7 +28,11 @@ public class uName {
|
||||
}
|
||||
|
||||
public static String stripName(String name) {
|
||||
return (name.length() > 15 ? name.substring(0, 15) : name);
|
||||
if (name.length() > 15) {
|
||||
return name.substring(0, 15);
|
||||
}
|
||||
|
||||
return name;
|
||||
}
|
||||
|
||||
public static String shortenName(Player player) {
|
||||
|
Loading…
Reference in New Issue
Block a user