rename needsToBeLinked to linkCheck and continue dedupe

This commit is contained in:
OMGeeky
2025-06-01 19:16:59 +02:00
parent 8561415574
commit 8c42b498b0
11 changed files with 22 additions and 18 deletions

View File

@@ -489,10 +489,7 @@ public class WriterModeData extends GameDataElement {
@SuppressWarnings("rawtypes")
public void parse() {
if (this.state == State.created || this.state == State.modified || this.state == State.saved) {
//This type of state is unrelated to parsing/linking.
return;
}
if (checkNotRelatedToParseOrLink()) return;
JSONParser parser = new JSONParser();
FileReader reader = null;
try {
@@ -526,7 +523,7 @@ public class WriterModeData extends GameDataElement {
}
}
@SuppressWarnings("rawtypes")
public void parse(Map json) {
this.id = (String) json.get("id");