3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-09 13:00:05 +01:00

Fix issue with scaling transforms on blocks.

Dieser Commit ist enthalten in:
sk89q 2014-07-10 21:05:16 -07:00
Ursprung ceec170be9
Commit 52f1a7d2d4

Datei anzeigen

@ -155,7 +155,7 @@ public class BlockTransformExtent extends AbstractDelegateExtent {
*/
@Nullable
private static StateValue getNewStateValue(State state, Transform transform, Vector oldDirection) {
Vector newDirection = transform.apply(oldDirection).normalize();
Vector newDirection = transform.apply(oldDirection).subtract(transform.apply(Vector.ZERO)).normalize();
StateValue newValue = null;
double closest = -2;
boolean found = false;