mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-28 05:35:26 +01:00
Fix lp tree max recursion property
This commit is contained in:
parent
1b199fd2c7
commit
fa0b66c2dc
@ -158,7 +158,7 @@ public class TreeView {
|
|||||||
List<Map.Entry<String, String>> ret = new ArrayList<>();
|
List<Map.Entry<String, String>> ret = new ArrayList<>();
|
||||||
|
|
||||||
for (Map.Entry<Integer, String> s : view.getNodeEndings()) {
|
for (Map.Entry<Integer, String> s : view.getNodeEndings()) {
|
||||||
if (s.getKey() > maxLevels) {
|
if (s.getKey() >= maxLevels) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user