mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-20 07:02:32 +01:00
Remove nullable annotation
This commit is contained in:
parent
0ff69503c5
commit
ec440f778b
@ -169,11 +169,11 @@ public interface Block extends ProtocolObject, TagReadable, BlockConstants {
|
||||
return compare(block, Comparator.ID);
|
||||
}
|
||||
|
||||
static @Nullable Block fromNamespaceId(@NotNull String namespaceID) {
|
||||
static Block fromNamespaceId(@NotNull String namespaceID) {
|
||||
return BlockLoader.get(namespaceID);
|
||||
}
|
||||
|
||||
static @Nullable Block fromNamespaceId(@NotNull NamespaceID namespaceID) {
|
||||
static Block fromNamespaceId(@NotNull NamespaceID namespaceID) {
|
||||
return fromNamespaceId(namespaceID.asString());
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user