mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-26 14:30:17 +01:00
Add imports in api
This commit is contained in:
parent
1f3f71ed1c
commit
d39d57953e
1 changed files with 2 additions and 1 deletions
|
@ -5,6 +5,7 @@ import com.google.common.collect.ImmutableMap;
|
||||||
import java.util.LinkedHashMap;
|
import java.util.LinkedHashMap;
|
||||||
import java.util.Locale;
|
import java.util.Locale;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
import net.kyori.adventure.text.Component;
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
import org.bukkit.NamespacedKey;
|
import org.bukkit.NamespacedKey;
|
||||||
|
@ -717,7 +718,7 @@ public class ItemStack implements Cloneable, ConfigurationSerializable, Translat
|
||||||
*
|
*
|
||||||
* @return the effective name of this item stack
|
* @return the effective name of this item stack
|
||||||
*/
|
*/
|
||||||
public net.kyori.adventure.text.@NotNull Component effectiveName() {
|
public @NotNull Component effectiveName() {
|
||||||
return this.craftDelegate.effectiveName();
|
return this.craftDelegate.effectiveName();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue