diff --git a/common/src/main/java/me/lucko/luckperms/common/storage/implementation/sql/SqlStorage.java b/common/src/main/java/me/lucko/luckperms/common/storage/implementation/sql/SqlStorage.java index e11134af2..220c1ed97 100644 --- a/common/src/main/java/me/lucko/luckperms/common/storage/implementation/sql/SqlStorage.java +++ b/common/src/main/java/me/lucko/luckperms/common/storage/implementation/sql/SqlStorage.java @@ -883,7 +883,7 @@ public class SqlStorage implements StorageImplementation { while (rs.next()) { String holder = rs.getString("name"); Collection list = nodes.get(holder); - if (nodes != null) { + if (list != null) { list.add(readNode(rs)); } }