From 29393a808b420144a55984f0d446767a222ddf5b Mon Sep 17 00:00:00 2001 From: TomyLobo Date: Sat, 28 Jul 2012 14:48:38 +0200 Subject: [PATCH] Updated for SpoutAPI changes. --- src/main/java/com/sk89q/worldedit/spout/SpoutUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/sk89q/worldedit/spout/SpoutUtil.java b/src/main/java/com/sk89q/worldedit/spout/SpoutUtil.java index db3b8495f..02175b013 100644 --- a/src/main/java/com/sk89q/worldedit/spout/SpoutUtil.java +++ b/src/main/java/com/sk89q/worldedit/spout/SpoutUtil.java @@ -101,7 +101,7 @@ public class SpoutUtil { } public static Block toBlock(BlockWorldVector pt) { - return toWorld(pt).getBlock(pt.getBlockX(), pt.getBlockY(), pt.getBlockZ()); + return toWorld(pt).getBlock(pt.getBlockX(), pt.getBlockY(), pt.getBlockZ(), WorldEditPlugin.getInstance()); } public static World toWorld(WorldVector pt) {