From ab0f9bbdbda0efc9db93f10a6c4ea3cba00ed177 Mon Sep 17 00:00:00 2001 From: Luck Date: Mon, 9 Jan 2017 19:24:12 +0000 Subject: [PATCH] Fix creating new tracks with SQLBacking --- .../me/lucko/luckperms/common/storage/backing/SQLBacking.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/src/main/java/me/lucko/luckperms/common/storage/backing/SQLBacking.java b/common/src/main/java/me/lucko/luckperms/common/storage/backing/SQLBacking.java index 47f5407b..b01f0892 100644 --- a/common/src/main/java/me/lucko/luckperms/common/storage/backing/SQLBacking.java +++ b/common/src/main/java/me/lucko/luckperms/common/storage/backing/SQLBacking.java @@ -815,6 +815,8 @@ public class SQLBacking extends AbstractBacking { try (ResultSet rs = ps.executeQuery()) { if (rs.next()) { groups.set(rs.getString("groups")); + } else { + return false; } } }