Fixed //deform not doing anything at all.

This commit is contained in:
TomyLobo 2013-11-30 17:18:53 +01:00
parent 8dbabe344d
commit 79bcfd815b

View File

@ -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