diff options
author | efefury <69400149+efefury@users.noreply.github.com> | 2022-09-07 12:00:36 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-07 14:00:36 +0200 |
commit | 1695ef38badc02ed6b5abae2d7bb6175e62855bc (patch) | |
tree | 605acbea9e3eeedf24b39e88e4d994c893d90ae0 /src/main/java | |
parent | f518f70869961dc32112e6a7ef6192e6a8ca4db7 (diff) | |
download | NotEnoughUpdates-1695ef38badc02ed6b5abae2d7bb6175e62855bc.tar.gz NotEnoughUpdates-1695ef38badc02ed6b5abae2d7bb6175e62855bc.tar.bz2 NotEnoughUpdates-1695ef38badc02ed6b5abae2d7bb6175e62855bc.zip |
neuitemedtior revert (#259)
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/itemeditor/NEUItemEditor.java | 13 |
1 files changed, 0 insertions, 13 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 9dc8d8b0..6a080ff8 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/itemeditor/NEUItemEditor.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/itemeditor/NEUItemEditor.java @@ -93,19 +93,6 @@ public class NEUItemEditor extends GuiScreen { extraAttributes.removeTag("uuid"); extraAttributes.removeTag("timestamp"); - if (extraAttributes.hasKey("petInfo")) { - try { - NBTTagCompound petInfo = JsonToNBT.getTagFromJson(extraAttributes.getString("petInfo")); - - petInfo.removeTag("\"heldItem\""); - petInfo.setString("\"exp\"", "0.0"); - petInfo.setString("\"candyUsed\"", "0"); - petInfo.removeTag("\"uuid\""); - - extraAttributes.setString("petInfo", petInfo.toString()); - } catch (NBTException ignored) { - } - } savedRepoItem = NotEnoughUpdates.INSTANCE.manager.getItemInformation().getOrDefault(internalName, null); internalName = internalName == null ? "" : internalName; |