mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-06-27 19:24:43 +02:00
Fix plot merging arguments
This commit is contained in:
@ -171,7 +171,8 @@ public class BukkitUtil extends BlockManager {
|
||||
}
|
||||
|
||||
public static Location getLocationFull(final Entity entity) {
|
||||
return getLocation(entity.getLocation());
|
||||
org.bukkit.Location loc = entity.getLocation();
|
||||
return new Location(loc.getWorld().getName(), (int) loc.getX(), (int) loc.getY(), (int) loc.getZ(), loc.getYaw(), loc.getPitch());
|
||||
}
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
Reference in New Issue
Block a user