diff --git a/projects/common-api/src/main/java/dan200/computercraft/api/upgrades/UpgradeDataProvider.java b/projects/common-api/src/main/java/dan200/computercraft/api/upgrades/UpgradeDataProvider.java index 8797aee88..7178e8a3a 100644 --- a/projects/common-api/src/main/java/dan200/computercraft/api/upgrades/UpgradeDataProvider.java +++ b/projects/common-api/src/main/java/dan200/computercraft/api/upgrades/UpgradeDataProvider.java @@ -24,6 +24,7 @@ import org.apache.logging.log4j.Logger; import javax.annotation.Nullable; import java.util.ArrayList; +import java.util.Collections; import java.util.HashSet; import java.util.List; import java.util.Set; @@ -104,7 +105,7 @@ public abstract class UpgradeDataProvider> addUpgrade); @Override - public final CompletableFuture run(CachedOutput cache) { + public CompletableFuture run(CachedOutput cache) { var base = output.getOutputFolder().resolve("data"); Set seen = new HashSet<>(); @@ -127,7 +128,7 @@ public abstract class UpgradeDataProvider