Fixed minor crash
This commit is contained in:
parent
aede1b6f2b
commit
359ad3c46b
2 changed files with 1 additions and 5 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue