mirror of
https://github.com/DiscordSRV/Ascension.git
synced 2024-12-26 17:18:29 +01:00
Nullability issue with IPlayer & IOfflinePlayer
This commit is contained in:
parent
c76e0c2c3b
commit
208d124fea
@ -28,6 +28,11 @@ import java.util.UUID;
|
||||
|
||||
public interface IPlayer extends DiscordSRVPlayer, IOfflinePlayer, ICommandSender {
|
||||
|
||||
@SuppressWarnings("NullableProblems") // IOfflinePlayer != IPlayer
|
||||
@Override
|
||||
@NotNull
|
||||
String getUsername();
|
||||
|
||||
@Override
|
||||
@ApiStatus.NonExtendable
|
||||
default @NotNull UUID uuid() {
|
||||
|
Loading…
Reference in New Issue
Block a user