From 18c192f5a9c5a702573838bb38e42bcfaae29bd8 Mon Sep 17 00:00:00 2001 From: "hash@exultant.us" Date: Wed, 11 May 2011 00:11:25 -0500 Subject: [PATCH] Bugfix last. --- src/main/java/com/sk89q/worldedit/bukkit/BukkitUtil.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/com/sk89q/worldedit/bukkit/BukkitUtil.java b/src/main/java/com/sk89q/worldedit/bukkit/BukkitUtil.java index b9c6ce6b5..3b422feeb 100644 --- a/src/main/java/com/sk89q/worldedit/bukkit/BukkitUtil.java +++ b/src/main/java/com/sk89q/worldedit/bukkit/BukkitUtil.java @@ -66,6 +66,10 @@ public class BukkitUtil { public static Location toLocation(WorldVector pt) { return new Location(toWorld(pt), pt.getX(), pt.getY(), pt.getZ()); } + + public static Location toLocation(World world, Vector pt) { + return new Location(world, pt.getX(), pt.getY(), pt.getZ()); + } public static Player matchSinglePlayer(Server server, String name) { List players = server.matchPlayer(name);