mirror of
https://github.com/songoda/SongodaCore.git
synced 2025-02-17 12:01:26 +01:00
fix item update name
This commit is contained in:
parent
073c79dc50
commit
d7fbe2da33
@ -299,7 +299,7 @@ public class Gui {
|
|||||||
public Gui updateItem(int cell, String name, String... lore) {
|
public Gui updateItem(int cell, String name, String... lore) {
|
||||||
ItemStack item = cellItems.get(cell);
|
ItemStack item = cellItems.get(cell);
|
||||||
if (item != null && item.getType() != Material.AIR) {
|
if (item != null && item.getType() != Material.AIR) {
|
||||||
setItem(cell, GuiUtils.updateItem(item, title, lore));
|
setItem(cell, GuiUtils.updateItem(item, name, lore));
|
||||||
}
|
}
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user