Skip to content

Commit

Permalink
Correct print(TextComponent) method
Browse files Browse the repository at this point in the history
  • Loading branch information
octylFractal committed Apr 30, 2019
1 parent 5b0bfd5 commit 5f88bef
Showing 1 changed file with 4 additions and 3 deletions.
Expand Up @@ -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;
Expand All @@ -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());
}
Expand Down Expand Up @@ -193,7 +194,7 @@ public void printError(String msg) {
}

@Override
public void print(TextComponent component) {
public void print(Component component) {

}

Expand Down

0 comments on commit 5f88bef

Please sign in to comment.