geforkt von Mirrors/FastAsyncWorldEdit
Flip direction of //rotate to have it match previous behavior.
Dieser Commit ist enthalten in:
Ursprung
56b349ead8
Commit
955a52825f
@ -190,9 +190,9 @@ public class ClipboardCommands {
|
|||||||
|
|
||||||
ClipboardHolder holder = session.getClipboard();
|
ClipboardHolder holder = session.getClipboard();
|
||||||
AffineTransform transform = new AffineTransform();
|
AffineTransform transform = new AffineTransform();
|
||||||
transform = transform.rotateY(Math.toRadians(yRotate != null ? yRotate : 0));
|
transform = transform.rotateY(-Math.toRadians(yRotate != null ? yRotate : 0));
|
||||||
transform = transform.rotateX(Math.toRadians(xRotate != null ? xRotate : 0));
|
transform = transform.rotateX(-Math.toRadians(xRotate != null ? xRotate : 0));
|
||||||
transform = transform.rotateZ(Math.toRadians(zRotate != null ? zRotate : 0));
|
transform = transform.rotateZ(-Math.toRadians(zRotate != null ? zRotate : 0));
|
||||||
holder.setTransform(holder.getTransform().combine(transform));
|
holder.setTransform(holder.getTransform().combine(transform));
|
||||||
player.print("The clipboard copy has been rotated.");
|
player.print("The clipboard copy has been rotated.");
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren