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
|
this.biomeTag = biomeTag == null
|
||||||
? TagAPI.makeStructureTag(id.getNamespace(), id.getPath())
|
? TagAPI.makeStructureTag(id.getNamespace(), id.getPath())
|
||||||
: biomeTag;
|
: 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);
|
this.structure = StructuresAccessor.callRegister(structureKey, this.baseStructure);
|
||||||
StructureSets.register(structureSetKey, this.structure, spreadConfig);
|
StructureSets.register(structureSetKey, this.structure, spreadConfig);
|
||||||
}
|
}
|
||||||
|
|
|
@ -51,10 +51,6 @@ public class TemplatePiece extends TemplateStructurePiece {
|
||||||
resourceLocation.toString(),
|
resourceLocation.toString(),
|
||||||
makeSettings(rotation, mirror, halfSize),
|
makeSettings(rotation, mirror, halfSize),
|
||||||
shiftPos(rotation, mirror, halfSize, centerPos));
|
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) {
|
public TemplatePiece(StructureTemplateManager structureTemplateManager, CompoundTag compoundTag) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue