From c87ae50ed18c565ffab2d63dabad3860a419d12d Mon Sep 17 00:00:00 2001 From: Anselm Brehme Date: Fri, 2 Jun 2023 18:29:46 +0200 Subject: [PATCH] InventoryMenu#setTitle now supports updating the title of open inventories without needing to reopen them --- .../spongepowered/api/item/inventory/menu/InventoryMenu.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/spongepowered/api/item/inventory/menu/InventoryMenu.java b/src/main/java/org/spongepowered/api/item/inventory/menu/InventoryMenu.java index f9c8dcdc57..cfd8bff88f 100644 --- a/src/main/java/org/spongepowered/api/item/inventory/menu/InventoryMenu.java +++ b/src/main/java/org/spongepowered/api/item/inventory/menu/InventoryMenu.java @@ -72,7 +72,7 @@ static InventoryMenu of(ViewableInventory inventory) { /** * Sets the title of this menu. - *

Any open menus are closed and reopened with the new title.

+ *

Any open menus are updated with the new title.

* * @param title the new title. */