Nullability issue with IPlayer & IOfflinePlayer

This commit is contained in:
Vankka 2021-07-31 01:25:20 +03:00
parent c76e0c2c3b
commit 208d124fea
No known key found for this signature in database
GPG Key ID: 6E50CB7A29B96AD0

View File

@ -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() {