Fixed minor crash

This commit is contained in:
Frank 2022-05-31 16:33:16 +02:00
parent aede1b6f2b
commit 359ad3c46b
2 changed files with 1 additions and 5 deletions

View file

@ -122,7 +122,7 @@ public class BCLStructure<S extends Structure> {
this.biomeTag = biomeTag == null
? TagAPI.makeStructureTag(id.getNamespace(), id.getPath())
: biomeTag;
this.baseStructure = structureBuilder.apply(structure(biomeTag, featureStep, TerrainAdjustment.NONE));
this.baseStructure = structureBuilder.apply(structure(this.biomeTag, featureStep, TerrainAdjustment.NONE));
this.structure = StructuresAccessor.callRegister(structureKey, this.baseStructure);
StructureSets.register(structureSetKey, this.structure, spreadConfig);
}

View file

@ -51,10 +51,6 @@ public class TemplatePiece extends TemplateStructurePiece {
resourceLocation.toString(),
makeSettings(rotation, mirror, halfSize),
shiftPos(rotation, mirror, halfSize, centerPos));
System.out.println("Piece: " + resourceLocation);
System.out.println(" - " + centerPos);
System.out.println(" - " + boundingBox);
System.out.println(" - " + templatePosition);
}
public TemplatePiece(StructureTemplateManager structureTemplateManager, CompoundTag compoundTag) {