From 59a75a524d85d712ebb18551eaf5cdaa089698fa Mon Sep 17 00:00:00 2001 From: jojo Date: Mon, 4 Jan 2021 22:05:16 +0100 Subject: [PATCH] Refactor version dependant calls to new System --- .../src/de/steamwar/schematicsystem/CheckSchemType.java | 1 + 1 file changed, 1 insertion(+) diff --git a/SchematicSystem_Main/src/de/steamwar/schematicsystem/CheckSchemType.java b/SchematicSystem_Main/src/de/steamwar/schematicsystem/CheckSchemType.java index 4e3f284..fa0b66a 100644 --- a/SchematicSystem_Main/src/de/steamwar/schematicsystem/CheckSchemType.java +++ b/SchematicSystem_Main/src/de/steamwar/schematicsystem/CheckSchemType.java @@ -70,6 +70,7 @@ public class CheckSchemType implements ICheckSchemType { public AutoCheckResult autoCheck(Schematic schematic) { return VersionedCallable.call(new VersionedCallable<>(AutoCheckResult::new, 8), new VersionedCallable<>(() -> CheckSchemType_12.autoCheck(schematic, null), 12), + new VersionedCallable<>(AutoCheckResult::new, 13), new VersionedCallable<>(() -> CheckSchemType_15.autoCheck(schematic, null), 15)); }