From d3162f6695ecc7b68529af89e0a5028b0bd78b7c Mon Sep 17 00:00:00 2001 From: TomyLobo Date: Sat, 17 Mar 2012 10:00:13 +0100 Subject: [PATCH] Fixed for latest SpoutAPI. --- src/main/java/com/sk89q/worldedit/spout/SpoutUtil.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/sk89q/worldedit/spout/SpoutUtil.java b/src/main/java/com/sk89q/worldedit/spout/SpoutUtil.java index 7432ab41b..a07028796 100644 --- a/src/main/java/com/sk89q/worldedit/spout/SpoutUtil.java +++ b/src/main/java/com/sk89q/worldedit/spout/SpoutUtil.java @@ -75,15 +75,15 @@ public class SpoutUtil { } public static Point toPoint(WorldVector pt) { - return Point.create(toWorld(pt), (float)pt.getX(), (float)pt.getY(), (float)pt.getZ()); + return new Point(toWorld(pt), (float)pt.getX(), (float)pt.getY(), (float)pt.getZ()); } public static Point toPoint(World world, Vector pt) { - return Point.create(world, (float)pt.getX(), (float)pt.getY(), (float)pt.getZ()); + return new Point(world, (float)pt.getX(), (float)pt.getY(), (float)pt.getZ()); } public static Point center(Point loc) { - return Point.create( + return new Point( loc.getWorld(), loc.getX() + 0.5F, loc.getY() + 0.5F,