From 79bcfd815b72f9a736a605639251ca4dda50a4e4 Mon Sep 17 00:00:00 2001 From: TomyLobo Date: Sat, 30 Nov 2013 17:18:53 +0100 Subject: [PATCH] Fixed //deform not doing anything at all. --- src/main/java/com/sk89q/worldedit/EditSession.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/sk89q/worldedit/EditSession.java b/src/main/java/com/sk89q/worldedit/EditSession.java index a026077c5..2297f3ec4 100644 --- a/src/main/java/com/sk89q/worldedit/EditSession.java +++ b/src/main/java/com/sk89q/worldedit/EditSession.java @@ -2913,7 +2913,7 @@ public class EditSession { // transform expression.evaluate(scaled.getX(), scaled.getY(), scaled.getZ()); - final BlockVector sourcePosition = environment.toWorld(scaled.getX(), scaled.getY(), scaled.getZ()); + final BlockVector sourcePosition = environment.toWorld(x.getValue(), y.getValue(), z.getValue()); // read block from world // TODO: use getBlock here once the reflection is out of the way