mirror of
https://github.com/WiIIiam278/HuskSync.git
synced 2025-12-25 01:29:19 +00:00
fix: Get correct platform Audience for OnlineUsers
This commit is contained in:
@@ -50,13 +50,11 @@ public abstract class OnlineUser extends User implements CommandUser, UserDataHo
|
||||
*/
|
||||
public abstract boolean isOffline();
|
||||
|
||||
/**
|
||||
* Get the player's adventure {@link Audience}
|
||||
*
|
||||
* @return the player's {@link Audience}
|
||||
*/
|
||||
@NotNull
|
||||
public abstract Audience getAudience();
|
||||
@Override
|
||||
public Audience getAudience() {
|
||||
return getPlugin().getAudience(getUuid());
|
||||
}
|
||||
|
||||
/**
|
||||
* Send a message to this player
|
||||
|
||||
Reference in New Issue
Block a user