mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-02 14:38:26 +01:00
Marked AbstractInventory with @NonExtendable
This commit is contained in:
parent
2634042f7d
commit
85da1c073a
@ -7,6 +7,7 @@ import net.minestom.server.tag.Tag;
|
|||||||
import net.minestom.server.tag.TagHandler;
|
import net.minestom.server.tag.TagHandler;
|
||||||
import net.minestom.server.utils.MathUtils;
|
import net.minestom.server.utils.MathUtils;
|
||||||
import net.minestom.server.utils.validate.Check;
|
import net.minestom.server.utils.validate.Check;
|
||||||
|
import org.jetbrains.annotations.ApiStatus;
|
||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.NotNull;
|
||||||
import org.jetbrains.annotations.Nullable;
|
import org.jetbrains.annotations.Nullable;
|
||||||
import org.jglrxavpok.hephaistos.nbt.NBTCompound;
|
import org.jglrxavpok.hephaistos.nbt.NBTCompound;
|
||||||
@ -20,6 +21,7 @@ import java.util.function.UnaryOperator;
|
|||||||
/**
|
/**
|
||||||
* Represents an inventory where items can be modified/retrieved.
|
* Represents an inventory where items can be modified/retrieved.
|
||||||
*/
|
*/
|
||||||
|
@ApiStatus.NonExtendable
|
||||||
public abstract class AbstractInventory implements InventoryClickHandler, TagHandler {
|
public abstract class AbstractInventory implements InventoryClickHandler, TagHandler {
|
||||||
|
|
||||||
private final int size;
|
private final int size;
|
||||||
|
Loading…
Reference in New Issue
Block a user