From 8678c2acfd0eaad0b99feb6cd9b580826c0b2d52 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Sat, 11 May 2019 14:02:52 +1000 Subject: [PATCH] Correct javadoc for createInventory(InventoryHolder, InventoryType) By: md_5 --- paper-api/src/main/java/org/bukkit/Bukkit.java | 6 ++---- paper-api/src/main/java/org/bukkit/Server.java | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/paper-api/src/main/java/org/bukkit/Bukkit.java b/paper-api/src/main/java/org/bukkit/Bukkit.java index 17d2a6ecef..d24d99e713 100644 --- a/paper-api/src/main/java/org/bukkit/Bukkit.java +++ b/paper-api/src/main/java/org/bukkit/Bukkit.java @@ -928,11 +928,9 @@ public final class Bukkit { } /** - * Creates an empty inventory with the specified type and title. If the type + * Creates an empty inventory with the specified type. If the type * is {@link InventoryType#CHEST}, the new inventory has a size of 27; - * otherwise the new inventory has the normal size for its type.
- * It should be noted that some inventory types do not support titles and - * may not render with said titles on the Minecraft client. + * otherwise the new inventory has the normal size for its type. *
* {@link InventoryType#WORKBENCH} will not process crafting recipes if * created with this method. Use diff --git a/paper-api/src/main/java/org/bukkit/Server.java b/paper-api/src/main/java/org/bukkit/Server.java index 1b48b8ee21..b4fb052229 100644 --- a/paper-api/src/main/java/org/bukkit/Server.java +++ b/paper-api/src/main/java/org/bukkit/Server.java @@ -767,11 +767,9 @@ public interface Server extends PluginMessageRecipient { public HelpMap getHelpMap(); /** - * Creates an empty inventory with the specified type and title. If the type + * Creates an empty inventory with the specified type. If the type * is {@link InventoryType#CHEST}, the new inventory has a size of 27; - * otherwise the new inventory has the normal size for its type.
- * It should be noted that some inventory types do not support titles and - * may not render with said titles on the Minecraft client. + * otherwise the new inventory has the normal size for its type. *
* {@link InventoryType#WORKBENCH} will not process crafting recipes if * created with this method. Use