mirror of
https://github.com/Minestom/Minestom.git
synced 2024-11-15 15:16:46 +01:00
Inventory title can be raw string
This commit is contained in:
parent
6b165c7692
commit
1e99810451
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user