Skip to content

Commit

Permalink
Fix bug I found randomly
Browse files Browse the repository at this point in the history
  • Loading branch information
ThexXTURBOXx committed Sep 28, 2023
1 parent ae273a8 commit f90e6bf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ public int compareTo(EncodedValue o) {
case VALUE_METHOD_HANDLE:
case VALUE_METHOD_TYPE:
if (value instanceof Comparable) {
return ((Comparable) value).compareTo(value);
return ((Comparable) value).compareTo(o.value);
} else {
throw new RuntimeException();
}
Expand Down

0 comments on commit f90e6bf

Please sign in to comment.