mirror of
https://github.com/PaperMC/Paper.git
synced 2025-07-31 04:02:06 -07:00
NF! 1.13 - more fixes
This commit is contained in:
@@ -8,7 +8,7 @@ Currently the server only supports the English language. To override this,
|
||||
You must replace the language file embedded in the server jar.
|
||||
|
||||
diff --git a/src/main/java/org/bukkit/craftbukkit/inventory/CraftItemFactory.java b/src/main/java/org/bukkit/craftbukkit/inventory/CraftItemFactory.java
|
||||
index 27a264f54..6fc0ce050 100644
|
||||
index 27a264f54..1cdbdf6d0 100644
|
||||
--- a/src/main/java/org/bukkit/craftbukkit/inventory/CraftItemFactory.java
|
||||
+++ b/src/main/java/org/bukkit/craftbukkit/inventory/CraftItemFactory.java
|
||||
@@ -0,0 +0,0 @@ public final class CraftItemFactory implements ItemFactory {
|
||||
@@ -26,7 +26,7 @@ index 27a264f54..6fc0ce050 100644
|
||||
+ nms = CraftItemStack.asNMSCopy(item);
|
||||
+ }
|
||||
+
|
||||
+ return nms != null ? nms.getName() : null;
|
||||
+ return nms != null ? nms.getItem().getName() : null;
|
||||
+ }
|
||||
// Paper end
|
||||
}
|
||||
|
Reference in New Issue
Block a user