From bd679f0b0ab200fc2186f3bebc0464baecd7f0c2 Mon Sep 17 00:00:00 2001 From: jojo Date: Tue, 5 Jan 2021 13:37:47 +0100 Subject: [PATCH] Hotfix NPE --- .../src/de/steamwar/schematicsystem/CheckSchemType.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SchematicSystem_Main/src/de/steamwar/schematicsystem/CheckSchemType.java b/SchematicSystem_Main/src/de/steamwar/schematicsystem/CheckSchemType.java index e1cd8c5..cd4a8ae 100644 --- a/SchematicSystem_Main/src/de/steamwar/schematicsystem/CheckSchemType.java +++ b/SchematicSystem_Main/src/de/steamwar/schematicsystem/CheckSchemType.java @@ -70,9 +70,9 @@ 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<>(() -> CheckSchemType_12.autoCheck(schematic, this), 12), new VersionedCallable<>(AutoCheckResult::new, 13), - new VersionedCallable<>(() -> CheckSchemType_15.autoCheck(schematic, null), 15)); + new VersionedCallable<>(() -> CheckSchemType_15.autoCheck(schematic, this), 15)); } @Override