mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-20 07:02:32 +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
|
@Override
|
||||||
default @NotNull NamespaceID namespace() {
|
default @NotNull NamespaceID namespace() {
|
||||||
return NamespaceID.from(registry().namespace());
|
return registry().namespace();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user