From 26d5d57e9ff4476c31bf66aa161242de694a0967 Mon Sep 17 00:00:00 2001 From: Emibergo02 <36164338+Emibergo02@users.noreply.github.com> Date: Sun, 18 Feb 2024 14:42:57 +0100 Subject: [PATCH] =?UTF-8?q?Add=20paralleltp=20to=20disabled=20commands=20?= =?UTF-8?q?=F0=9F=98=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/net/william278/huskhomes/config/Settings.java | 2 +- docs/Config-Files.md | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/common/src/main/java/net/william278/huskhomes/config/Settings.java b/common/src/main/java/net/william278/huskhomes/config/Settings.java index f1eec1de..4662467d 100644 --- a/common/src/main/java/net/william278/huskhomes/config/Settings.java +++ b/common/src/main/java/net/william278/huskhomes/config/Settings.java @@ -400,7 +400,7 @@ public static class MapHookSettings { } @Comment("List of commands to disable (e.g. ['/home', '/warp'] to disable /home and /warp)") - private List disabledCommands = Lists.newArrayList(); + private List disabledCommands = Lists.newArrayList("paralleltp"); public boolean isCommandDisabled(@NotNull Command type) { return disabledCommands.stream() diff --git a/docs/Config-Files.md b/docs/Config-Files.md index ec87fa12..86d23bff 100644 --- a/docs/Config-Files.md +++ b/docs/Config-Files.md @@ -184,7 +184,8 @@ map_hook: # Show warps on the web map show_warps: true # List of commands to disable (e.g. ['/home', '/warp'] to disable /home and /warp) -disabled_commands: [] +disabled_commands: + - paralleltp ```