1
0
mirror of https://github.com/lucko/LuckPerms.git synced 2025-09-25 21:38:59 +02:00

Fix null check in selectAllGroupPermissions

This commit is contained in:
Luck
2020-05-11 13:12:30 +01:00
parent fca2f1e6de
commit 6a256d59f5

View File

@@ -883,7 +883,7 @@ public class SqlStorage implements StorageImplementation {
while (rs.next()) { while (rs.next()) {
String holder = rs.getString("name"); String holder = rs.getString("name");
Collection<SqlNode> list = nodes.get(holder); Collection<SqlNode> list = nodes.get(holder);
if (nodes != null) { if (list != null) {
list.add(readNode(rs)); list.add(readNode(rs));
} }
} }