mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-04 07:28:19 +01:00
Make Metadata.Entry sealed
Signed-off-by: TheMode <themode@outlook.fr>
This commit is contained in:
parent
4b7f8213aa
commit
0f2be00291
@ -210,7 +210,8 @@ public final class Metadata {
|
||||
return metadataMap;
|
||||
}
|
||||
|
||||
public interface Entry<T> extends Writeable {
|
||||
public sealed interface Entry<T> extends Writeable
|
||||
permits MetadataImpl.EntryImpl {
|
||||
int type();
|
||||
|
||||
@UnknownNullability T value();
|
||||
|
Loading…
Reference in New Issue
Block a user