diff options
author | Nassim Jahnke <[email protected]> | 2024-06-28 14:25:43 +0200 |
---|---|---|
committer | Nassim Jahnke <[email protected]> | 2024-06-28 14:25:43 +0200 |
commit | dbd6b3a5b4426ae8cd19c44d98bc996874532afb (patch) | |
tree | 9d2e7eeef5f00a62f55a6ee0f242abb810ee083b /patches/api/0445-ItemStack-Tooltip-API.patch | |
parent | b68774ea543eefe16eba7dc50445ae9225acfb44 (diff) | |
download | Paper-deprecations.tar.gz Paper-deprecations.zip |
Add note on more related set/get methods as welldeprecations
Diffstat (limited to 'patches/api/0445-ItemStack-Tooltip-API.patch')
-rw-r--r-- | patches/api/0445-ItemStack-Tooltip-API.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/patches/api/0445-ItemStack-Tooltip-API.patch b/patches/api/0445-ItemStack-Tooltip-API.patch index 7fa28ddc99..9ed3f18811 100644 --- a/patches/api/0445-ItemStack-Tooltip-API.patch +++ b/patches/api/0445-ItemStack-Tooltip-API.patch @@ -119,7 +119,7 @@ index 3f1b48fd65df954e874e6dc6b9093cb12370e2c5..0e9ccfee7a03d341e7c4d271f53b4ed1 + @NotNull java.util.List<net.kyori.adventure.text.Component> computeTooltipLines(@NotNull ItemStack itemStack, @NotNull io.papermc.paper.inventory.tooltip.TooltipContext tooltipContext, @Nullable org.bukkit.entity.Player player); // Paper - expose itemstack tooltip lines } diff --git a/src/main/java/org/bukkit/inventory/ItemStack.java b/src/main/java/org/bukkit/inventory/ItemStack.java -index c5e22bca27f3199eb2a466f41aa82047f5fd0e44..235d41b0078bb513470b17a0dad46fae3ac73a16 100644 +index 13d035ace9fbe93c3754595ac6cadbfbe30062a5..718070359c644de65c8fc2b34ad39913525d18c6 100644 --- a/src/main/java/org/bukkit/inventory/ItemStack.java +++ b/src/main/java/org/bukkit/inventory/ItemStack.java @@ -1037,4 +1037,21 @@ public class ItemStack implements Cloneable, ConfigurationSerializable, Translat |