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 @Nullable
private static StateValue getNewStateValue(State state, Transform transform, Vector oldDirection) { 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; StateValue newValue = null;
double closest = -2; double closest = -2;
boolean found = false; boolean found = false;