Bugfix last.

This commit is contained in:
hash@exultant.us 2011-05-11 00:11:25 -05:00
parent e6f3a1b5af
commit 18c192f5a9

View File

@ -67,6 +67,10 @@ public class BukkitUtil {
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<Player> players = server.matchPlayer(name);
if (players.size() == 0) {