mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-12 06:48:35 +00:00
Bugfix last.
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user