Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-02 17:40:09 +01:00
Fix rotate/flip applying in the wrong order
- pretty cheat fix, but it reverts to legacy FAWE behaviour
Dieser Commit ist enthalten in:
Ursprung
ae6a1f1be4
Commit
5903178c53
@ -540,7 +540,7 @@ public class ClipboardCommands {
|
|||||||
transform = transform.rotateY(-rotateY);
|
transform = transform.rotateY(-rotateY);
|
||||||
transform = transform.rotateX(-rotateX);
|
transform = transform.rotateX(-rotateX);
|
||||||
transform = transform.rotateZ(-rotateZ);
|
transform = transform.rotateZ(-rotateZ);
|
||||||
holder.setTransform(holder.getTransform().combine(transform));
|
holder.setTransform(transform.combine(holder.getTransform()));
|
||||||
actor.printInfo(TranslatableComponent.of("worldedit.rotate.rotated"));
|
actor.printInfo(TranslatableComponent.of("worldedit.rotate.rotated"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -555,7 +555,7 @@ public class ClipboardCommands {
|
|||||||
ClipboardHolder holder = session.getClipboard();
|
ClipboardHolder holder = session.getClipboard();
|
||||||
AffineTransform transform = new AffineTransform();
|
AffineTransform transform = new AffineTransform();
|
||||||
transform = transform.scale(direction.abs().multiply(-2).add(1, 1, 1).toVector3());
|
transform = transform.scale(direction.abs().multiply(-2).add(1, 1, 1).toVector3());
|
||||||
holder.setTransform(holder.getTransform().combine(transform));
|
holder.setTransform(transform.combine(holder.getTransform()));
|
||||||
actor.printInfo(TranslatableComponent.of("worldedit.flip.flipped"));
|
actor.printInfo(TranslatableComponent.of("worldedit.flip.flipped"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren