fix item update name

This commit is contained in:
jascotty2 2019-09-02 14:06:30 -05:00
parent 073c79dc50
commit d7fbe2da33

View File

@ -299,7 +299,7 @@ public class Gui {
public Gui updateItem(int cell, String name, String... lore) {
ItemStack item = cellItems.get(cell);
if (item != null && item.getType() != Material.AIR) {
setItem(cell, GuiUtils.updateItem(item, title, lore));
setItem(cell, GuiUtils.updateItem(item, name, lore));
}
return this;
}