From 0c2035e1c2c76616726456150eba33a423498ff0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=9D=8F=E9=BB=91?= Date: Tue, 25 Sep 2018 15:27:15 +0800 Subject: [PATCH] + fixed --- .../java/me/skymc/taboolib/common/util/SimpleCounter.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/me/skymc/taboolib/common/util/SimpleCounter.java b/src/main/java/me/skymc/taboolib/common/util/SimpleCounter.java index 96dd083..7955d59 100644 --- a/src/main/java/me/skymc/taboolib/common/util/SimpleCounter.java +++ b/src/main/java/me/skymc/taboolib/common/util/SimpleCounter.java @@ -21,4 +21,8 @@ public class SimpleCounter { } return false; } + + public void reset() { + timer = 0; + } }