From bbf4d628558210ecf189065fc6f84d5b4be1b394 Mon Sep 17 00:00:00 2001 From: Govindas Date: Fri, 24 Apr 2020 09:27:20 +0300 Subject: [PATCH] Remove old comment --- src/lt/govindas/skooldown/Skooldown.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lt/govindas/skooldown/Skooldown.java b/src/lt/govindas/skooldown/Skooldown.java index aefffe7..bb3149b 100644 --- a/src/lt/govindas/skooldown/Skooldown.java +++ b/src/lt/govindas/skooldown/Skooldown.java @@ -35,9 +35,9 @@ public final class Skooldown extends JavaPlugin { Skript.registerEffect(EffEndCooldown.class, "(reset|stop|delete|clear) [(1¦event)] cooldown %string% [with data %-string%]"); - Skript.registerCondition(CondIsCooldownOver.class, "[the] [(1¦event)] cooldown %string% [with data %-string%] (is|has) (finished|over|done)", "[the] [(1¦event)] cooldown %string% [with data %-string%] is(n't| not) unfinished)", "[the] [(1¦event)] cooldown %string% [with data %-string%] is(n't| not) (finished|over|done)", "[the] [(1¦event)] cooldown %string% [with data %-string%] is unfinished"); + Skript.registerCondition(CondIsCooldownOver.class, "[(1¦event)] cooldown %string% [with data %-string%] (is|has) (finished|over|done)", "[the] [(1¦event)] cooldown %string% [with data %-string%] is(n't| not) unfinished)", "[the] [(1¦event)] cooldown %string% [with data %-string%] is(n't| not) (finished|over|done)", "[the] [(1¦event)] cooldown %string% [with data %-string%] is unfinished"); Skript.registerExpression(ExprCooldown.class, Timespan.class, ExpressionType.PROPERTY, "[(1¦event)] cooldown %string% [with data %-string%]"); - //TODO make the event, but I don't know how right now + Skript.registerEvent("Cooldown End", EvtCooldown.class, CooldownEndEvent.class, "(finish|end|complete) of cooldown %string%"); Skript.registerExpression(ExprCooldownData.class, String.class, ExpressionType.SIMPLE, "cooldown data"); EventValues.registerEventValue(CooldownEndEvent.class, String.class, new Getter() {