From 6e668cd862e993495d29e32f07578eae687e6f70 Mon Sep 17 00:00:00 2001 From: SirYwell Date: Thu, 7 Mar 2024 18:38:03 +0100 Subject: [PATCH] docs --- Core/src/main/java/com/plotsquared/core/util/WorldUtil.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Core/src/main/java/com/plotsquared/core/util/WorldUtil.java b/Core/src/main/java/com/plotsquared/core/util/WorldUtil.java index ec1756d8e..f016de924 100644 --- a/Core/src/main/java/com/plotsquared/core/util/WorldUtil.java +++ b/Core/src/main/java/com/plotsquared/core/util/WorldUtil.java @@ -62,6 +62,11 @@ import java.util.zip.ZipOutputStream; 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) { return Math.abs(location.getX()) < 30000000 && Math.abs(location.getZ()) < 30000000; }