From e6606a012a80ec811f1ce8adb29794ad6c3fc773 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<>();