mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
Fix npe object for pieces
This commit is contained in:
parent
f763cc4020
commit
36f56c2040
@ -37,7 +37,7 @@ public class PlannedPiece {
|
|||||||
this.object = structure.rotated(piece, rotation);
|
this.object = structure.rotated(piece, rotation);
|
||||||
this.piece = rotation.rotateCopy(piece);
|
this.piece = rotation.rotateCopy(piece);
|
||||||
this.piece.setLoadKey(piece.getLoadKey());
|
this.piece.setLoadKey(piece.getLoadKey());
|
||||||
this.object.setLoadKey(object.getLoadKey());
|
this.object.setLoadKey(piece.getObject());
|
||||||
this.connected = new KList<>();
|
this.connected = new KList<>();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user