forked from Upstream/Velocitab
Bump minimessage, fix empty string used for concatenation
This commit is contained in:
parent
c6603da50a
commit
1e3f163f2d
@ -33,7 +33,7 @@ dependencies {
|
||||
compileOnly 'io.github.miniplaceholders:miniplaceholders-api:2.0.0'
|
||||
compileOnly 'net.william278:PAPIProxyBridge:1.0'
|
||||
compileOnly 'org.projectlombok:lombok:1.18.26'
|
||||
compileOnly 'net.kyori:adventure-text-minimessage:4.13.0'
|
||||
compileOnly 'net.kyori:adventure-text-minimessage:4.13.1'
|
||||
|
||||
implementation 'org.apache.commons:commons-text:1.10.0'
|
||||
implementation 'net.william278:Annotaml:2.0.1'
|
||||
|
@ -61,6 +61,6 @@ public class Role implements Comparable<Role> {
|
||||
|
||||
@NotNull
|
||||
protected String getWeightString(int highestWeight) {
|
||||
return String.format("%0" + (highestWeight + "").length() + "d", highestWeight - weight);
|
||||
return String.format("%0" + Integer.toString(highestWeight).length() + "d", highestWeight - weight);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user