From dcf207f5e5b874f1e3667a1e0820b9707b0f9f7b Mon Sep 17 00:00:00 2001 From: Luck Date: Mon, 10 Oct 2016 22:39:24 +0100 Subject: [PATCH] Fix exception, resolves #20 and #22 --- .../api/implementation/internal/PermissionHolderLink.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/src/main/java/me/lucko/luckperms/api/implementation/internal/PermissionHolderLink.java b/common/src/main/java/me/lucko/luckperms/api/implementation/internal/PermissionHolderLink.java index e5bed21d..e389dfcf 100644 --- a/common/src/main/java/me/lucko/luckperms/api/implementation/internal/PermissionHolderLink.java +++ b/common/src/main/java/me/lucko/luckperms/api/implementation/internal/PermissionHolderLink.java @@ -65,12 +65,12 @@ public class PermissionHolderLink implements PermissionHolder { @Override public Set getAllNodes() { - return Collections.unmodifiableSet(master.getAllNodes(Collections.emptyList(), Contexts.allowAll())); + return Collections.unmodifiableSet(master.getAllNodes(null, Contexts.allowAll())); } @Override public SortedSet getAllNodes(@NonNull Contexts contexts) { - return master.getAllNodes(Collections.emptyList(), contexts); + return master.getAllNodes(null, contexts); } @Override