diff --git a/SchematicSystem_Main/src/de/steamwar/schematicsystem/CheckSchemType.java b/SchematicSystem_Main/src/de/steamwar/schematicsystem/CheckSchemType.java index 7503a70..4e3f284 100644 --- a/SchematicSystem_Main/src/de/steamwar/schematicsystem/CheckSchemType.java +++ b/SchematicSystem_Main/src/de/steamwar/schematicsystem/CheckSchemType.java @@ -68,7 +68,7 @@ public class CheckSchemType implements ICheckSchemType { } public AutoCheckResult autoCheck(Schematic schematic) { - return VersionedCallable.call(new VersionedCallable<>(() -> new AutoCheckResult(), 8), + return VersionedCallable.call(new VersionedCallable<>(AutoCheckResult::new, 8), new VersionedCallable<>(() -> CheckSchemType_12.autoCheck(schematic, null), 12), new VersionedCallable<>(() -> CheckSchemType_15.autoCheck(schematic, null), 15)); }