remove arbitary item data
This commit is contained in:
parent
97b708bb23
commit
4e94a660ff
18 changed files with 210 additions and 392 deletions
|
@ -36,7 +36,7 @@ public class GuiRename extends Gui implements FieldCallback, ButtonCallback {
|
|||
}
|
||||
|
||||
public GuiRename(int slot, ItemStack stack, Gui prev) {
|
||||
this.itemName = stack.getItem().getDisplay(stack);
|
||||
this.itemName = stack.getItem().getDisplay();
|
||||
this.origName = stack.hasDisplayName() ? TextColor.stripCodes(stack.getDisplayName()) : "";
|
||||
this.slot = slot;
|
||||
this.previous = prev;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue