Fix ChestGUIButton name
This commit is contained in:
parent
898a9b37f0
commit
46c7478aa7
1 changed files with 3 additions and 1 deletions
|
@ -65,7 +65,6 @@ public class ChestGUIButton
|
||||||
public ItemStack buildIcon()
|
public ItemStack buildIcon()
|
||||||
{
|
{
|
||||||
ItemStack ret = new ItemStack(icon,1);
|
ItemStack ret = new ItemStack(icon,1);
|
||||||
ret = ret.setHoverName(ChatHelpers.macro(name));
|
|
||||||
|
|
||||||
|
|
||||||
NBT.putInt("slot", getSlotNum());
|
NBT.putInt("slot", getSlotNum());
|
||||||
|
@ -79,6 +78,9 @@ public class ChestGUIButton
|
||||||
|
|
||||||
cont.commitLore();
|
cont.commitLore();
|
||||||
|
|
||||||
|
|
||||||
|
ret = ret.setHoverName(ChatHelpers.macro(name));
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in a new issue