diff --git a/src/main/java/ch/njol/skript/expressions/ExprTimes.java b/src/main/java/ch/njol/skript/expressions/ExprTimes.java index f9d99e09abf..16d4de265d5 100755 --- a/src/main/java/ch/njol/skript/expressions/ExprTimes.java +++ b/src/main/java/ch/njol/skript/expressions/ExprTimes.java @@ -51,7 +51,7 @@ public class ExprTimes extends SimpleExpression { static { Skript.registerExpression(ExprTimes.class, Long.class, ExpressionType.SIMPLE, - "%number% time[s]", "once", "twice"); + "%number% time[s]", "once", "twice", "thrice"); } @SuppressWarnings("null") diff --git a/src/test/skript/tests/syntaxes/expressions/ExprTimes.sk b/src/test/skript/tests/syntaxes/expressions/ExprTimes.sk index 5001a78ade0..edb09f9080a 100644 --- a/src/test/skript/tests/syntaxes/expressions/ExprTimes.sk +++ b/src/test/skript/tests/syntaxes/expressions/ExprTimes.sk @@ -6,3 +6,7 @@ test "times": add 1 to {_count} assert {_count} is 3 with "count was %{_count}% instead of 3" assert {_three} is 3 with "original number wasn't 3" + set {_count} to 0 + loop thrice: + add 1 to {_count} + assert {_count} is 3 with "thrice count was %{_count}% instead of 3"