NodeMember: SpigotCore #221
@ -1 +1 @@
|
||||
Subproject commit 27d6e9accfa14fa8d5c74ebbcad9d8c2f17767c7
|
||||
Subproject commit d30650bad30d53b5fb6c4e5c9499b71c577cf849
|
||||
|
@ -409,7 +409,7 @@ public class SchematicSelector {
|
||||
nodes.removeIf(node -> !node.isDir());
|
||||
break;
|
||||
case SCHEMATIC_TYPE:
|
||||
nodes.addAll(SchematicNode.accessibleByUserTypeMap(user, target.type).get(parent==null?0:parent.getId()));
|
||||
nodes.addAll(SchematicNode.accessibleByUserTypeMap(user, target.type).get(parent==null?null:parent.getId()));
|
||||
if(target.rank >= 0) {
|
||||
nodes.removeIf(node -> {
|
||||
if(node.isDir()) {
|
||||
@ -420,7 +420,7 @@ public class SchematicSelector {
|
||||
}
|
||||
break;
|
||||
default:
|
||||
nodes.addAll(SchematicNode.list(user, parent == null?0:parent.getId()));
|
||||
nodes.addAll(SchematicNode.list(user, parent == null?null:parent.getId()));
|
||||
}
|
||||
|
||||
if(singleDirOpen && nodes.size() == 1 && nodes.get(0).isDir()) {
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren
Das wird nach dem Merge im CommonCore nochmal aktualisiert werden müssen.