geforkt von Mirrors/Paper
#734: Make PlayerInventory#getItem Nullable
By: Doc <nachito94@msn.com>
Dieser Commit ist enthalten in:
Ursprung
1019bd7464
Commit
3c7b2251cf
@ -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);
|
||||
|
||||
/**
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren