geforkt von Mirrors/Paper
SPIGOT-5860: Item.setItemStack should be NotNull
By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Ursprung
ce2e0ba37a
Commit
412ebacb74
@ -2,7 +2,6 @@ package org.bukkit.entity;
|
||||
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
/**
|
||||
* Represents a dropped item.
|
||||
@ -22,7 +21,7 @@ public interface Item extends Entity {
|
||||
*
|
||||
* @param stack An item stack.
|
||||
*/
|
||||
public void setItemStack(@Nullable ItemStack stack);
|
||||
public void setItemStack(@NotNull ItemStack stack);
|
||||
|
||||
/**
|
||||
* Gets the delay before this Item is available to be picked up by players
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren