Fix double Engine initialization
This commit is contained in:
parent
175b0248d9
commit
cdd68833cb
1 changed files with 1 additions and 1 deletions
|
@ -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<DependencySubsystemVector> order = new LinkedList<>();
|
||||
|
||||
// Add vectors
|
||||
resolver.addVector(getDependencyVector());
|
||||
resolver.addVectors(subsystems);
|
||||
|
||||
// Resolve dependencies and get order
|
||||
|
|
Loading…
Reference in a new issue