Fix compile error in Transforms caused by merge.

This commit is contained in:
sk89q 2014-07-02 02:55:02 -07:00
parent 83e141bfb0
commit 9e8b2d1875

View File

@ -43,7 +43,7 @@ public final class Transforms {
public static Location transform(Location location, Transform transform) {
checkNotNull(location);
checkNotNull(transform);
return new Location(location.getWorld(), transform.apply(location.toVector()), location.getDirection());
return new Location(location.getExtent(), transform.apply(location.toVector()), location.getDirection());
}
}