mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-24 10:17:39 +00:00
Bugfix last.
This commit is contained in:
parent
e6f3a1b5af
commit
18c192f5a9
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user