From 9e8b2d1875b5be6ac41fb51a017a053e4ecb4916 Mon Sep 17 00:00:00 2001 From: sk89q Date: Wed, 2 Jul 2014 02:55:02 -0700 Subject: [PATCH] Fix compile error in Transforms caused by merge. --- .../java/com/sk89q/worldedit/math/transform/Transforms.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/sk89q/worldedit/math/transform/Transforms.java b/src/main/java/com/sk89q/worldedit/math/transform/Transforms.java index 35f8a3df8..cfb6356af 100644 --- a/src/main/java/com/sk89q/worldedit/math/transform/Transforms.java +++ b/src/main/java/com/sk89q/worldedit/math/transform/Transforms.java @@ -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()); } }