From 93cfd07fd6d15a73742bde6a2def7ae422dd1ef9 Mon Sep 17 00:00:00 2001 From: AconiteX <63141077+AconiteX@users.noreply.github.com> Date: Sat, 14 Aug 2021 22:10:22 -0400 Subject: [PATCH] Add isPlanetEnabledForCluster --- sku.0/sys.server/compiled/game/script/base_class.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sku.0/sys.server/compiled/game/script/base_class.java b/sku.0/sys.server/compiled/game/script/base_class.java index f9c1a4678..ab752e266 100755 --- a/sku.0/sys.server/compiled/game/script/base_class.java +++ b/sku.0/sys.server/compiled/game/script/base_class.java @@ -18750,6 +18750,12 @@ public class base_class */ public static native boolean isAreaTooFullForTravel (String planetName, int x, int z); + /** + * @param planetName the scene to check + * @return true if the planet is turned on for this server + */ + public static native boolean isPlanetEnabledForCluster(String planetName); + /** * Send a request to the planet server for both object1 and object2 to be moved to the same game server. * The planet server will try to move one of the objects to the server the other object is on.