diff --git a/src/main/java/jesse/keeblarcraft/Commands/NoteCommands.java b/src/main/java/jesse/keeblarcraft/Commands/NoteCommands.java index 656839b..3984dac 100644 --- a/src/main/java/jesse/keeblarcraft/Commands/NoteCommands.java +++ b/src/main/java/jesse/keeblarcraft/Commands/NoteCommands.java @@ -205,6 +205,8 @@ public class NoteCommands { note.ModifyNote(value, newNote, epochTime, storyChapter, storyPart); + ChatUtil.SendPlayerMsg(player, "Modified note entry. View notes any time with /notegui"); + ret = 0; } diff --git a/src/main/java/jesse/keeblarcraft/JsonClassObjects/PlayerNote.java b/src/main/java/jesse/keeblarcraft/JsonClassObjects/PlayerNote.java index d95e9f8..1623238 100644 --- a/src/main/java/jesse/keeblarcraft/JsonClassObjects/PlayerNote.java +++ b/src/main/java/jesse/keeblarcraft/JsonClassObjects/PlayerNote.java @@ -55,6 +55,7 @@ public class PlayerNote { /// @brief This is the notebook ///////////////////////////////////////////////////////////////////////////// public class NoteFile { + // the uuid is the name of the file written to disk String uuid; public HashMap noteMap = new HashMap(); } @@ -230,7 +231,7 @@ public class PlayerNote { ///////////////////////////////////////////////////////////////////////////// public void FlashConfig() { try { - config.WriteToJsonFile("notes/" + thisNote.uuid.toString() + ".json", thisNote); + config.WriteToJsonFile("notes/" + thisNote.uuid + ".json", thisNote); } catch (FILE_WRITE_EXCEPTION e) { System.out.println(ChatUtil.ColoredString("Could not flash notes configuration file", CONSOLE_COLOR.RED)); }