Fix plot merging arguments

This commit is contained in:
boy0001
2015-07-31 04:46:06 +10:00
parent 4eae78590f
commit 9dad492554
4 changed files with 43 additions and 19 deletions

View File

@ -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());
}
////////////////////////////////////////////////////////////////////////