Fix lifespan syntax

This commit is contained in:
Bryan Terce 2019-06-22 12:05:22 -07:00
parent 39bb3b0b72
commit 74d4918f44
No known key found for this signature in database
GPG Key ID: DF2E2829CA6E5BF4

View File

@ -32,7 +32,7 @@ public class ExprDataSource extends SimpleExpression<HikariDataSource> {
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<String, HikariDataSource> connectionCache = new HashMap<>();