mirror of
https://github.com/Minestom/Minestom.git
synced 2025-02-01 04:51:29 +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);
|
return compare(block, Comparator.ID);
|
||||||
}
|
}
|
||||||
|
|
||||||
static @Nullable Block fromNamespaceId(@NotNull String namespaceID) {
|
static Block fromNamespaceId(@NotNull String namespaceID) {
|
||||||
return BlockLoader.get(namespaceID);
|
return BlockLoader.get(namespaceID);
|
||||||
}
|
}
|
||||||
|
|
||||||
static @Nullable Block fromNamespaceId(@NotNull NamespaceID namespaceID) {
|
static Block fromNamespaceId(@NotNull NamespaceID namespaceID) {
|
||||||
return fromNamespaceId(namespaceID.asString());
|
return fromNamespaceId(namespaceID.asString());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user