diff --git a/common/src/main/java/me/lucko/luckperms/utils/Node.java b/common/src/main/java/me/lucko/luckperms/utils/Node.java index e17f4d030..e283b2007 100644 --- a/common/src/main/java/me/lucko/luckperms/utils/Node.java +++ b/common/src/main/java/me/lucko/luckperms/utils/Node.java @@ -459,7 +459,7 @@ public class Node implements me.lucko.luckperms.api.Node { @Override public Map.Entry getSuffix() { - if (!isPrefix()) { + if (!isSuffix()) { throw new IllegalStateException(); }