forked from StarOpenSource/Engine
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
|
* @see EngineConfiguration
|
||||||
* @since v1-alpha0
|
* @since v1-alpha0
|
||||||
*/
|
*/
|
||||||
@EngineSubsystem
|
|
||||||
@SuppressWarnings({ "JavadocDeclaration" })
|
@SuppressWarnings({ "JavadocDeclaration" })
|
||||||
public final class Engine extends SubsystemClass {
|
public final class Engine extends SubsystemClass {
|
||||||
/**
|
/**
|
||||||
|
@ -482,6 +481,7 @@ public final class Engine extends SubsystemClass {
|
||||||
LinkedList<DependencySubsystemVector> order = new LinkedList<>();
|
LinkedList<DependencySubsystemVector> order = new LinkedList<>();
|
||||||
|
|
||||||
// Add vectors
|
// Add vectors
|
||||||
|
resolver.addVector(getDependencyVector());
|
||||||
resolver.addVectors(subsystems);
|
resolver.addVectors(subsystems);
|
||||||
|
|
||||||
// Resolve dependencies and get order
|
// Resolve dependencies and get order
|
||||||
|
|
Loading…
Reference in a new issue