mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-05 16:49:39 +00:00
#734: Make PlayerInventory#getItem Nullable
This commit is contained in:
parent
881e06e5db
commit
33a2b476bb
1 changed files with 2 additions and 2 deletions
|
@ -104,9 +104,9 @@ public interface PlayerInventory extends Inventory {
|
|||
*
|
||||
* @param slot the slot to get the ItemStack
|
||||
*
|
||||
* @return the ItemStack in the given slot
|
||||
* @return the ItemStack in the given slot or null if there is not one
|
||||
*/
|
||||
@NotNull
|
||||
@Nullable
|
||||
public ItemStack getItem(@NotNull EquipmentSlot slot);
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue