diff --git a/SchematicSystem_15/src/de/steamwar/schematicsystem/commands/schematiccommand/SchematicCommand15.java b/SchematicSystem_15/src/de/steamwar/schematicsystem/commands/schematiccommand/SchematicCommand15.java index aac20ff..47f58a5 100644 --- a/SchematicSystem_15/src/de/steamwar/schematicsystem/commands/schematiccommand/SchematicCommand15.java +++ b/SchematicSystem_15/src/de/steamwar/schematicsystem/commands/schematiccommand/SchematicCommand15.java @@ -43,15 +43,15 @@ import java.util.stream.Collectors; public class SchematicCommand15 implements SchematicCommand.ISchematicCommand { @Override public Clipboard fixClipboard(Clipboard clipboard, AutoCheckerResult result, CheckSchemType type) throws Exception { - for (BlockPos blockPos : result.getRecords()) { + for (BlockPos blockPos : result.getBlockScanResult().getRecords()) { BlockVector3 vector = BlockVector3.at(blockPos.getX(), blockPos.getY(), blockPos.getZ()); clipboard.setBlock(vector, clipboard.getFullBlock(vector).toBaseBlock(new CompoundTag(Collections.emptyMap()))); } Map> toBeCheckedInvs = new HashMap<>(); - toBeCheckedInvs.putAll(result.getForbiddenItems()); - toBeCheckedInvs.putAll(result.getForbiddenNbt()); + toBeCheckedInvs.putAll(result.getBlockScanResult().getForbiddenItems()); + toBeCheckedInvs.putAll(result.getBlockScanResult().getForbiddenNbt()); for (Map.Entry> entry: toBeCheckedInvs.entrySet()) { BlockPos pos = entry.getKey(); @@ -77,7 +77,7 @@ public class SchematicCommand15 implements SchematicCommand.ISchematicCommand { } if(type.getMaxDispenserItems() > 0 ) { - for (Map.Entry entry : result.getDispenserItems().entrySet()) { + for (Map.Entry entry : result.getBlockScanResult().getDispenserItems().entrySet()) { if(entry.getValue() <= type.getMaxDispenserItems()) { continue; }