mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-04 03:56:41 +00:00
Update Text to 3
This commit is contained in:
committed by
Kenzie Togami
parent
4355f8cbf7
commit
1c54a04fd1
@ -32,7 +32,7 @@ import org.enginehub.piston.inject.InjectedValueAccess;
|
||||
import java.util.List;
|
||||
|
||||
import static com.google.common.base.Preconditions.checkArgument;
|
||||
import static com.sk89q.worldedit.util.formatting.text.Component.space;
|
||||
import static com.sk89q.worldedit.util.formatting.text.TextComponent.space;
|
||||
|
||||
public class CommaSeparatedValuesConverter<T> implements ArgumentConverter<T> {
|
||||
|
||||
@ -61,7 +61,7 @@ public class CommaSeparatedValuesConverter<T> implements ArgumentConverter<T> {
|
||||
TextComponent.Builder result = TextComponent.builder("");
|
||||
if (maximum > -1) {
|
||||
result.append(TextComponent.of("up to "))
|
||||
.append(Component.of(maximum))
|
||||
.append(TextComponent.of(maximum))
|
||||
.append(space());
|
||||
}
|
||||
result.append(TextComponent.of("comma separated values of: "))
|
||||
|
Reference in New Issue
Block a user