ItemStack is final

This commit is contained in:
TheMode 2021-04-13 03:10:04 +02:00
parent 73b0130d30
commit 32430882a5

View File

@ -20,7 +20,7 @@ import java.util.function.UnaryOperator;
* <p> * <p>
* An item stack cannot be null, {@link ItemStack#AIR} should be used instead. * 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'. * Constant AIR item. Should be used instead of 'null'.