mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-07 08:58:20 +01:00
ItemStack is final
This commit is contained in:
parent
73b0130d30
commit
32430882a5
@ -20,7 +20,7 @@ import java.util.function.UnaryOperator;
|
||||
* <p>
|
||||
* An item stack cannot be null, {@link ItemStack#AIR} should be used instead.
|
||||
*/
|
||||
public class ItemStack implements HoverEventSource<HoverEvent.ShowItem> {
|
||||
public final class ItemStack implements HoverEventSource<HoverEvent.ShowItem> {
|
||||
|
||||
/**
|
||||
* Constant AIR item. Should be used instead of 'null'.
|
||||
|
Loading…
Reference in New Issue
Block a user