remove redundant allocation

This commit is contained in:
TheMode 2021-06-19 21:04:02 +02:00
parent 0d96ad5483
commit f040f882e5

View File

@ -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