Removed an unused method.

This commit is contained in:
Tobias Ottenweller 2013-05-19 12:01:34 +02:00
parent 79dcd259dc
commit 252292819f

View File

@ -82,23 +82,4 @@ public class LocationUtil
return new Location(w, x, y, z); return new Location(w, x, y, z);
} }
public static boolean locationsAreAtSamePositions(final Location l1, final Location l2)
{
if (l1.getWorld() != l2.getWorld() && (l1.getWorld() == null || !l1.getWorld().equals(l2.getWorld()))) {
return false;
}
if (l1.getBlockX() != l2.getBlockX()) {
return false;
}
if (l1.getBlockY() != l2.getBlockY()) {
return false;
}
if (l1.getBlockZ() != l2.getBlockZ()) {
return false;
}
return true;
}
} }