mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
Flip direction of //rotate to have it match previous behavior.
This commit is contained in:
parent
56b349ead8
commit
955a52825f
@ -190,9 +190,9 @@ public class ClipboardCommands {
|
||||
|
||||
ClipboardHolder holder = session.getClipboard();
|
||||
AffineTransform transform = new AffineTransform();
|
||||
transform = transform.rotateY(Math.toRadians(yRotate != null ? yRotate : 0));
|
||||
transform = transform.rotateX(Math.toRadians(xRotate != null ? xRotate : 0));
|
||||
transform = transform.rotateZ(Math.toRadians(zRotate != null ? zRotate : 0));
|
||||
transform = transform.rotateY(-Math.toRadians(yRotate != null ? yRotate : 0));
|
||||
transform = transform.rotateX(-Math.toRadians(xRotate != null ? xRotate : 0));
|
||||
transform = transform.rotateZ(-Math.toRadians(zRotate != null ? zRotate : 0));
|
||||
holder.setTransform(holder.getTransform().combine(transform));
|
||||
player.print("The clipboard copy has been rotated.");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user