mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-12-04 19:03:14 +01:00
docs
This commit is contained in:
parent
b51eec279f
commit
6e668cd862
@ -62,6 +62,11 @@ import java.util.zip.ZipOutputStream;
|
|||||||
|
|
||||||
public abstract class WorldUtil {
|
public abstract class WorldUtil {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* {@return whether the given location is valid in the world}
|
||||||
|
* @param location the location to check
|
||||||
|
* @since TODO
|
||||||
|
*/
|
||||||
public static boolean isValidLocation(Location location) {
|
public static boolean isValidLocation(Location location) {
|
||||||
return Math.abs(location.getX()) < 30000000 && Math.abs(location.getZ()) < 30000000;
|
return Math.abs(location.getX()) < 30000000 && Math.abs(location.getZ()) < 30000000;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user