aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/itemeditor
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2022-08-11 13:03:30 +0200
committerGitHub <noreply@github.com>2022-08-11 21:03:30 +1000
commitba69e034794b7a5dc8d950ab4ba2d12370aa509f (patch)
tree840d97ddc4c67f09f99770a86a5fbbcc5f2349d9 /src/main/java/io/github/moulberry/notenoughupdates/itemeditor
parent4cf7ec9f8ee48b7ea22b2d514c3e7ff1be7daf0d (diff)
downloadnotenoughupdates-ba69e034794b7a5dc8d950ab4ba2d12370aa509f.tar.gz
notenoughupdates-ba69e034794b7a5dc8d950ab4ba2d12370aa509f.tar.bz2
notenoughupdates-ba69e034794b7a5dc8d950ab4ba2d12370aa509f.zip
display name (#219)
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/itemeditor')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/itemeditor/NEUItemEditor.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/itemeditor/NEUItemEditor.java b/src/main/java/io/github/moulberry/notenoughupdates/itemeditor/NEUItemEditor.java
index ff0e5f13..3d18df36 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/itemeditor/NEUItemEditor.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/itemeditor/NEUItemEditor.java
@@ -103,8 +103,8 @@ public class NEUItemEditor extends GuiScreen {
this.itemId = addTextFieldWithSupplier(itemid, NO_SPACE);
options.add(new GuiElementText("Display name: ", Color.WHITE.getRGB()));
- String displayname = item.has("displayname") ? item.get("displayname").getAsString() : "";
- this.displayName = addTextFieldWithSupplier(displayname, COLOUR);
+ String displayName = item.has("displayname") ? item.get("displayname").getAsString() : "";
+ this.displayName = addTextFieldWithSupplier(displayName, COLOUR);
options.add(new GuiElementText("Lore: ", Color.WHITE.getRGB()));
JsonElement loreElement = getItemInfo("lore");