From 6bc4e5b45c6d961b39ad6bd71af6a3e0f5139459 Mon Sep 17 00:00:00 2001 From: NotMyFault Date: Sat, 3 Apr 2021 22:34:43 +0200 Subject: [PATCH] Re add per-world-teleport --- .../src/main/java/com/plotsquared/core/command/HomeCommand.java | 1 + Core/src/main/java/com/plotsquared/core/command/Visit.java | 1 + .../main/java/com/plotsquared/core/configuration/Settings.java | 2 ++ 3 files changed, 4 insertions(+) diff --git a/Core/src/main/java/com/plotsquared/core/command/HomeCommand.java b/Core/src/main/java/com/plotsquared/core/command/HomeCommand.java index fe9aa6b84..29d727983 100644 --- a/Core/src/main/java/com/plotsquared/core/command/HomeCommand.java +++ b/Core/src/main/java/com/plotsquared/core/command/HomeCommand.java @@ -26,6 +26,7 @@ package com.plotsquared.core.command; import com.google.inject.Inject; +import com.plotsquared.core.configuration.Settings; import com.plotsquared.core.configuration.caption.TranslatableCaption; import com.plotsquared.core.events.TeleportCause; import com.plotsquared.core.permissions.Permission; diff --git a/Core/src/main/java/com/plotsquared/core/command/Visit.java b/Core/src/main/java/com/plotsquared/core/command/Visit.java index e014eef3e..b2e668d2e 100644 --- a/Core/src/main/java/com/plotsquared/core/command/Visit.java +++ b/Core/src/main/java/com/plotsquared/core/command/Visit.java @@ -27,6 +27,7 @@ package com.plotsquared.core.command; import com.google.inject.Inject; import com.plotsquared.core.PlotSquared; +import com.plotsquared.core.configuration.Settings; import com.plotsquared.core.configuration.caption.Templates; import com.plotsquared.core.configuration.caption.TranslatableCaption; import com.plotsquared.core.events.TeleportCause; diff --git a/Core/src/main/java/com/plotsquared/core/configuration/Settings.java b/Core/src/main/java/com/plotsquared/core/configuration/Settings.java index 59d3c7449..9f2786a4a 100644 --- a/Core/src/main/java/com/plotsquared/core/configuration/Settings.java +++ b/Core/src/main/java/com/plotsquared/core/configuration/Settings.java @@ -570,6 +570,8 @@ public class Settings extends Config { public static boolean ON_CLEAR = false; @Comment("Teleport outside of the plot before deleting") public static boolean ON_DELETE = false; + @Comment("The visit command is ordered by world instead of globally") + public static boolean PER_WORLD_VISIT = false; }