mirror of
https://github.com/Minestom/Minestom.git
synced 2024-11-13 22:25:53 +01:00
Add Unmodifiable annotation
This commit is contained in:
parent
f17355a972
commit
22ba15f390
@ -8,6 +8,7 @@ import net.minestom.server.utils.NamespaceID;
|
||||
import org.jetbrains.annotations.Contract;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
import org.jetbrains.annotations.Unmodifiable;
|
||||
import org.jglrxavpok.hephaistos.nbt.NBTCompound;
|
||||
|
||||
import java.util.Map;
|
||||
@ -59,6 +60,7 @@ public interface Block extends ProtocolObject, TagReadable, BlockConstants {
|
||||
@Contract(pure = true)
|
||||
@Nullable BlockHandler handler();
|
||||
|
||||
@Unmodifiable
|
||||
@Contract(pure = true)
|
||||
@NotNull Map<String, String> properties();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user