From 74d4918f44121f95da1793bd7b0ff3fc20303261 Mon Sep 17 00:00:00 2001 From: Bryan Terce Date: Sat, 22 Jun 2019 12:05:22 -0700 Subject: [PATCH] Fix lifespan syntax --- src/main/java/com/btk5h/skriptdb/skript/ExprDataSource.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/btk5h/skriptdb/skript/ExprDataSource.java b/src/main/java/com/btk5h/skriptdb/skript/ExprDataSource.java index ba9749b..3d9e7b0 100644 --- a/src/main/java/com/btk5h/skriptdb/skript/ExprDataSource.java +++ b/src/main/java/com/btk5h/skriptdb/skript/ExprDataSource.java @@ -32,7 +32,7 @@ public class ExprDataSource extends SimpleExpression { static { Skript.registerExpression(ExprDataSource.class, HikariDataSource.class, ExpressionType.COMBINED, "[the] data(base|[ ]source) [(of|at)] %string% " + - "[with [a] [max[imum]] [connection] life[ ]time of %timespan%]"); + "[with [a] [max[imum]] [connection] life[ ]time of %-timespan%]"); } private static Map connectionCache = new HashMap<>();