fix(UC-02): LOW review items — anchored path strip + corner offset doc
- Use substring instead of replace for path cleanup (anchored, no double-strip risk) - Document that corner_decorations ignores x/z offsets (by design)
This commit is contained in:
@@ -637,6 +637,8 @@ public class HangingCagePiece extends StructurePiece {
|
||||
int[][] corners = layout.innerCorners();
|
||||
|
||||
// Corner decorations (e.g. cobwebs low+high, soul fire, snow layers)
|
||||
// Note: only y_offset is used here — x/z offsets are ignored because corners
|
||||
// are placed at all 4 inner corners and direction logic would differ per corner.
|
||||
for (DecorationConfig.PositionedBlock pb : deco.cornerDecorations()) {
|
||||
for (int[] c : corners) {
|
||||
if (layout.isInShape(c[0], c[1]) && !layout.isWall(c[0], c[1])) {
|
||||
|
||||
Reference in New Issue
Block a user