mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 07:06:44 +01:00
test commit
This commit is contained in:
parent
9bb9aa6126
commit
0a26ed8f8e
@ -84,7 +84,7 @@ public class BukkitUtil extends BlockManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static Location getLocation(final org.bukkit.Location loc) {
|
public static Location getLocation(final org.bukkit.Location loc) {
|
||||||
return new Location(loc.getWorld().getName(), loc.getBlockX(), loc.getBlockY(), loc.getBlockZ());
|
return new Location(loc.getWorld().getName(), (int) loc.getX(), (int) loc.getY(), (int) loc.getZ());
|
||||||
}
|
}
|
||||||
|
|
||||||
public static org.bukkit.Location getLocation(final Location loc) {
|
public static org.bukkit.Location getLocation(final Location loc) {
|
||||||
|
Loading…
Reference in New Issue
Block a user