Fix and deprecate ItemStack#getI18NDisplayName (#7358)

This commit is contained in:
Jake Potrebic
2022-01-16 16:53:26 -08:00
parent 2fcdb1b8ed
commit 48f228173e
4 changed files with 9 additions and 3 deletions

View File

@@ -11,8 +11,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
--- a/src/main/java/org/bukkit/inventory/ItemFactory.java
+++ b/src/main/java/org/bukkit/inventory/ItemFactory.java
@@ -0,0 +0,0 @@ public interface ItemFactory {
*/
@Nullable
@Deprecated
String getI18NDisplayName(@Nullable ItemStack item);
+
+ /**