From 69584caec396558c59147610ea9d8ab6eda8d413 Mon Sep 17 00:00:00 2001 From: Keir Nellyer Date: Mon, 14 Jan 2013 20:19:00 +0000 Subject: [PATCH] Added API to rename inventories --- src/main/java/org/bukkit/inventory/Inventory.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main/java/org/bukkit/inventory/Inventory.java b/src/main/java/org/bukkit/inventory/Inventory.java index 35c4567351..3175c16aaa 100644 --- a/src/main/java/org/bukkit/inventory/Inventory.java +++ b/src/main/java/org/bukkit/inventory/Inventory.java @@ -47,6 +47,13 @@ public interface Inventory extends Iterable { */ public String getName(); + /** + * Sets the name (title) of the inventory + * + * @param name The new name (title) of the inventory + */ + public void setName(String name); + /** * Get the ItemStack found in the slot at the given index *