mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-02 06:28:49 +00:00
Start command refactor
This commit is contained in:
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}
|
||||
|
||||
Reference in new issue
Block a user