3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-12-25 18:40:05 +01:00
Dieser Commit ist enthalten in:
hash@exultant.us 2011-05-11 00:11:25 -05:00
Ursprung e6f3a1b5af
Commit 18c192f5a9

Datei anzeigen

@ -67,6 +67,10 @@ public class BukkitUtil {
return new Location(toWorld(pt), pt.getX(), pt.getY(), pt.getZ()); 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) { public static Player matchSinglePlayer(Server server, String name) {
List<Player> players = server.matchPlayer(name); List<Player> players = server.matchPlayer(name);
if (players.size() == 0) { if (players.size() == 0) {