Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set max sneak interval to 1000 #710

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Set max sneak interval to 1000
Dinty1 authored Feb 28, 2022
commit 3de125d1501a8c02f635010ee935aca8b8726040
2 changes: 1 addition & 1 deletion src/main/java/org/kitteh/vanish/Settings.java
Original file line number Diff line number Diff line change
@@ -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);
2 changes: 1 addition & 1 deletion src/main/resources/config.yml
Original file line number Diff line number Diff line change
@@ -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