Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2025-01-11 18:10:52 +01:00
Renamed a parameter in BukkitUtil.
Dieser Commit ist enthalten in:
Ursprung
ab0d170d9a
Commit
743a5ea869
@ -137,12 +137,12 @@ public class BukkitUtil {
|
||||
|
||||
public static final double EQUALS_PRECISION = 0.0001;
|
||||
|
||||
public static org.bukkit.Location toLocation(Location teleportLocation) {
|
||||
Vector pt = teleportLocation.getPosition();
|
||||
public static org.bukkit.Location toLocation(Location location) {
|
||||
Vector pt = location.getPosition();
|
||||
return new org.bukkit.Location(
|
||||
toWorld(teleportLocation.getWorld()),
|
||||
toWorld(location.getWorld()),
|
||||
pt.getX(), pt.getY(), pt.getZ(),
|
||||
teleportLocation.getYaw(), teleportLocation.getPitch()
|
||||
location.getYaw(), location.getPitch()
|
||||
);
|
||||
}
|
||||
|
||||
|
Laden…
x
In neuem Issue referenzieren
Einen Benutzer sperren