File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/main/java/dev/ebullient/convert/tools/dnd5e Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ protected Tools5eQuteNote buildQuteNote() {
31
31
List <String > featureKeys = oft .features ;
32
32
List <JsonNode > nodes = featureKeys .stream ()
33
33
.map (index ::getAliasOrDefault )
34
+ .distinct ()
34
35
.map (index ::getNode )
35
36
.filter (x -> x != null )
36
37
.sorted (Comparator .comparing (SourceField .name ::getTextOrEmpty ))
@@ -45,8 +46,8 @@ protected Tools5eQuteNote buildQuteNote() {
45
46
List <String > text = new ArrayList <>();
46
47
47
48
for (JsonNode entry : nodes ) {
48
- Tools5eIndexType type = Tools5eIndexType . getTypeFromNode (entry );
49
- text .add ("- " + type . linkify ( index , entry ));
49
+ Tools5eSources sources = Tools5eSources . findSources (entry );
50
+ text .add ("- " + linkifier (). link ( sources ));
50
51
}
51
52
if (text .isEmpty ()) {
52
53
return null ;
You can’t perform that action at this time.
0 commit comments