mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-02 14:38:26 +01:00
remove redundant allocation
This commit is contained in:
parent
0d96ad5483
commit
f040f882e5
@ -68,7 +68,7 @@ public interface Block extends ProtocolObject, TagReadable, BlockConstants {
|
||||
|
||||
@Override
|
||||
default @NotNull NamespaceID namespace() {
|
||||
return NamespaceID.from(registry().namespace());
|
||||
return registry().namespace();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user