From 718649541d2213e87c6c4d771418f1c5660d6a96 Mon Sep 17 00:00:00 2001 From: Lauriichan Date: Sun, 14 Apr 2024 20:55:29 +0200 Subject: [PATCH] Fixes #81 --- pom.xml | 6 +++++- .../spigot/smoothtimber/toggle/ToggleTimer.java | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 4ef7bf7..2fa18df 100644 --- a/pom.xml +++ b/pom.xml @@ -48,7 +48,8 @@ *:* - com/syntaxphoenix/spigot/smoothtimber/annotation/*.class + + com/syntaxphoenix/spigot/smoothtimber/annotation/*.class @@ -68,6 +69,9 @@ 11 11 + + -parameters + com.syntaxphoenix.spigot.smoothtimber.annotation.MCVersionEnumGenerator diff --git a/src/main/java/com/syntaxphoenix/spigot/smoothtimber/toggle/ToggleTimer.java b/src/main/java/com/syntaxphoenix/spigot/smoothtimber/toggle/ToggleTimer.java index 05855c7..f633b60 100644 --- a/src/main/java/com/syntaxphoenix/spigot/smoothtimber/toggle/ToggleTimer.java +++ b/src/main/java/com/syntaxphoenix/spigot/smoothtimber/toggle/ToggleTimer.java @@ -8,7 +8,7 @@ public class ToggleTimer implements Runnable { public ToggleTimer(final ToggleStorage storage) { this.storage = storage; - Platform.getPlatform().asyncTaskTimer(this, 0, 0); + Platform.getPlatform().asyncTaskTimer(this, 20, 20); } public final ToggleStorage getStorage() {