Skip to content

Commit

Permalink
Better use of descriptor
Browse files Browse the repository at this point in the history
  • Loading branch information
FDelporte committed May 27, 2024
1 parent 865ed30 commit 4d3c5ea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public void onAttach(AttachEvent event) {
}

private String getDescriptor(Descriptor descriptor) {
return descriptor.name() + ", " + descriptor.description();
return descriptor.category() + ", " + descriptor.name() + ", " + descriptor.quantity() + ", " + descriptor.type();
}

private record InfoLine(String type, String label, Object info) {
Expand Down

0 comments on commit 4d3c5ea

Please sign in to comment.