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

@@ -208,7 +208,7 @@ public class NPC extends JSONElement {
@Override
public void link() {
if (!this.needsToBeLinked()) return;
if (!this.linkCheck()) return;
Project proj = getProject();
if (proj == null) {
Notification.addError("Error linking item "+id+". No parent project found.");