From cdd68833cb850af73e4b940851bff1bfe322eb82 Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Tue, 15 Oct 2024 03:29:13 +0200 Subject: [PATCH] Fix double Engine initialization --- base/src/main/java/de/staropensource/engine/base/Engine.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/src/main/java/de/staropensource/engine/base/Engine.java b/base/src/main/java/de/staropensource/engine/base/Engine.java index 3ab8eade5..ec42ad94c 100644 --- a/base/src/main/java/de/staropensource/engine/base/Engine.java +++ b/base/src/main/java/de/staropensource/engine/base/Engine.java @@ -56,7 +56,6 @@ import java.util.*; * @see EngineConfiguration * @since v1-alpha0 */ -@EngineSubsystem @SuppressWarnings({ "JavadocDeclaration" }) public final class Engine extends SubsystemClass { /** @@ -482,6 +481,7 @@ public final class Engine extends SubsystemClass { LinkedList order = new LinkedList<>(); // Add vectors + resolver.addVector(getDependencyVector()); resolver.addVectors(subsystems); // Resolve dependencies and get order