Correct javadoc for createInventory(InventoryHolder, InventoryType)

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot 2019-05-11 14:02:52 +10:00
parent 12798cd084
commit 8678c2acfd
2 changed files with 4 additions and 8 deletions

View file

@ -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.<br>
* 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.
* <br>
* {@link InventoryType#WORKBENCH} will not process crafting recipes if
* created with this method. Use

View file

@ -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.<br>
* 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.
* <br>
* {@link InventoryType#WORKBENCH} will not process crafting recipes if
* created with this method. Use