Compiler issues v2

This commit is contained in:
Bjarne Koll
2024-10-25 13:52:04 +02:00
parent cc0308bf1d
commit c6a0ad379d
20 changed files with 35 additions and 49 deletions

View File

@@ -27,7 +27,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ nms = CraftItemStack.asNMSCopy(item);
+ }
+
+ return nms != null ? net.minecraft.locale.Language.getInstance().getOrDefault(nms.getItem().getDescriptionId(nms)) : null;
+ return nms != null ? nms.getItem().getName(nms).getString() : null;
+ }
+ // Paper end - add getI18NDisplayName
}