diff options
Diffstat (limited to 'src')
-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; |