mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-01-11 02:07:38 +00:00
Renamed a parameter in BukkitUtil.
This commit is contained in:
parent
ab0d170d9a
commit
743a5ea869
@ -137,12 +137,12 @@ public class BukkitUtil {
|
|||||||
|
|
||||||
public static final double EQUALS_PRECISION = 0.0001;
|
public static final double EQUALS_PRECISION = 0.0001;
|
||||||
|
|
||||||
public static org.bukkit.Location toLocation(Location teleportLocation) {
|
public static org.bukkit.Location toLocation(Location location) {
|
||||||
Vector pt = teleportLocation.getPosition();
|
Vector pt = location.getPosition();
|
||||||
return new org.bukkit.Location(
|
return new org.bukkit.Location(
|
||||||
toWorld(teleportLocation.getWorld()),
|
toWorld(location.getWorld()),
|
||||||
pt.getX(), pt.getY(), pt.getZ(),
|
pt.getX(), pt.getY(), pt.getZ(),
|
||||||
teleportLocation.getYaw(), teleportLocation.getPitch()
|
location.getYaw(), location.getPitch()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user