Correct print(TextComponent) method

This commit is contained in:
Kenzie Togami 2019-04-30 13:34:45 -07:00
parent 5b0bfd50d3
commit 5f88bef5ac
No known key found for this signature in database
GPG Key ID: 5D200B325E157A81

View File

@ -27,6 +27,7 @@
import com.sk89q.worldedit.session.SessionKey;
import com.sk89q.worldedit.util.HandSide;
import com.sk89q.worldedit.util.Location;
import com.sk89q.worldedit.util.formatting.text.Component;
import com.sk89q.worldedit.util.formatting.text.TextComponent;
import com.sk89q.worldedit.world.World;
import com.sk89q.worldedit.world.weather.WeatherType;
@ -43,11 +44,11 @@ public class TestPlayer extends AbstractPlayerActor implements LocalPlayer {
private final UUID uuid = UUID.randomUUID();
private final String name;
private final Set<String> groups = new HashSet<>();
public TestPlayer(String name) {
this.name = name;
}
public void addGroup(String group) {
groups.add(group.toLowerCase());
}
@ -193,7 +194,7 @@ public void printError(String msg) {
}
@Override
public void print(TextComponent component) {
public void print(Component component) {
}