mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-06 08:27:43 +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;
|
return metadataMap;
|
||||||
}
|
}
|
||||||
|
|
||||||
public interface Entry<T> extends Writeable {
|
public sealed interface Entry<T> extends Writeable
|
||||||
|
permits MetadataImpl.EntryImpl {
|
||||||
int type();
|
int type();
|
||||||
|
|
||||||
@UnknownNullability T value();
|
@UnknownNullability T value();
|
||||||
|
Loading…
Reference in New Issue
Block a user