Skip to content

Commit 214965a

Browse files
Add more methods
1 parent 9577fd6 commit 214965a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

core/src/main/java/me/flame/menus/menu/IMenu.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,12 @@ public interface IMenu extends Iterable<MenuItem>, InventoryHolder {
257257
*/
258258
void updateTitle(String title);
259259

260+
/**
261+
* Update the inventory with the title (RE-OPENS THE INVENTORY)
262+
* @param title the new title
263+
*/
264+
void updateTitle(TextHolder title);
265+
260266
/**
261267
* Open the inventory for the provided player.
262268
* @apiNote Will not work if the player is sleeping.

0 commit comments

Comments
 (0)