From fa0b66c2dc1646657162d0282300e6f53e93a043 Mon Sep 17 00:00:00 2001 From: Luck Date: Mon, 26 Jun 2017 16:31:30 +0100 Subject: [PATCH] Fix lp tree max recursion property --- .../main/java/me/lucko/luckperms/common/treeview/TreeView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/me/lucko/luckperms/common/treeview/TreeView.java b/common/src/main/java/me/lucko/luckperms/common/treeview/TreeView.java index 055fe44df..50ba96aad 100644 --- a/common/src/main/java/me/lucko/luckperms/common/treeview/TreeView.java +++ b/common/src/main/java/me/lucko/luckperms/common/treeview/TreeView.java @@ -158,7 +158,7 @@ public class TreeView { List> ret = new ArrayList<>(); for (Map.Entry s : view.getNodeEndings()) { - if (s.getKey() > maxLevels) { + if (s.getKey() >= maxLevels) { continue; }