Inventory title can be raw string

This commit is contained in:
TheMode 2021-04-12 16:42:57 +02:00
parent 6b165c7692
commit 1e99810451

View File

@ -56,10 +56,6 @@ public class Inventory extends AbstractInventory implements Viewable {
this.offset = getSize();
}
/**
* @deprecated use {@link Inventory#Inventory(InventoryType, Component)}
*/
@Deprecated
public Inventory(@NotNull InventoryType inventoryType, @NotNull String title) {
this(inventoryType, Component.text(title));
}