From fcd792191ac1bfda96b474384e52d261395dc341 Mon Sep 17 00:00:00 2001 From: TomyLobo Date: Thu, 15 Mar 2012 10:34:30 +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 a07028796..7432ab41b 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 new Point(toWorld(pt), (float)pt.getX(), (float)pt.getY(), (float)pt.getZ()); + return Point.create(toWorld(pt), (float)pt.getX(), (float)pt.getY(), (float)pt.getZ()); } public static Point toPoint(World world, Vector pt) { - return new Point(world, (float)pt.getX(), (float)pt.getY(), (float)pt.getZ()); + return Point.create(world, (float)pt.getX(), (float)pt.getY(), (float)pt.getZ()); } public static Point center(Point loc) { - return new Point( + return Point.create( loc.getWorld(), loc.getX() + 0.5F, loc.getY() + 0.5F,