Start command refactor

This commit is contained in:
William278 committed 2023-03-05 19:10:19 +00:00
1 parent 39e0b25d46
commit 3e27f7c5b1
57 files changed
+728 -384

No files matched your search

@@ -21,7 +21,7 @@ import java.util.concurrent.CompletableFuture;
/**
* A cross-platform representation of a logged-in {@link User}
*/
public abstract class OnlineUser extends User implements Teleportable {
public abstract class OnlineUser extends User implements Teleportable, CommandUser {
public OnlineUser(@NotNull UUID uuid, @NotNull String username) {
super(uuid, username);
@@ -134,7 +134,7 @@ public abstract class OnlineUser extends User implements Teleportable {
* @return the adventure {@link Audience} for this player
*/
@NotNull
protected abstract Audience getAudience();
public abstract Audience getAudience();
/**
* Teleport a player to the specified local {@link Location}