From 3de125d1501a8c02f635010ee935aca8b8726040 Mon Sep 17 00:00:00 2001 From: Dinty1 <67452089+Dinty1@users.noreply.github.com> Date: Mon, 28 Feb 2022 14:48:42 +0000 Subject: [PATCH] Set max sneak interval to 1000 --- src/main/java/org/kitteh/vanish/Settings.java | 2 +- src/main/resources/config.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/kitteh/vanish/Settings.java b/src/main/java/org/kitteh/vanish/Settings.java index b7c5e38..822d0d0 100644 --- a/src/main/java/org/kitteh/vanish/Settings.java +++ b/src/main/java/org/kitteh/vanish/Settings.java @@ -106,7 +106,7 @@ static void freshStart(@NonNull VanishPlugin plugin) { if (ver <= 8) { config.set("hooks.squaremap", false); config.set("double-sneak-during-vanish-switches-gamemode.enabled", false); - config.set("double-sneak-during-vanish-switches-gamemode.max-ms-time-between-sneaks", 500); + config.set("double-sneak-during-vanish-switches-gamemode.max-ms-time-between-sneaks", 1000); config.set("double-sneak-during-vanish-switches-gamemode.message", "&aGameMode changed!"); } config.set("configVersionDoNotTouch.SeriouslyThisWillEraseYourConfig", Settings.confVersion); diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml index e2f10f0..122057c 100644 --- a/src/main/resources/config.yml +++ b/src/main/resources/config.yml @@ -25,7 +25,7 @@ permtest: false debug: false double-sneak-during-vanish-switches-gamemode: enabled: false - max-ms-time-between-sneaks: 500 + max-ms-time-between-sneaks: 1000 message: '&aGameMode changed!' configVersionDoNotTouch: SeriouslyThisWillEraseYourConfig: 9