Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
jpenilla committed May 16, 2024
1 parent 1da3e6a commit c5a44ff
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,8 @@ private static final class ModernProtoItemStack implements ProtoItemStack {
.filter(it -> it.getParameterCount() == 0 && it.getReturnType().equals(boolean.class))
.collect(Collectors.toList());
if (isEmptyMethod.size() != 1) {
throw new IllegalStateException("Failed to locate DataComponentMap/Patch#isEmpty; size=" + isEmptyMethod.size());
throw new IllegalStateException(
"Failed to locate DataComponentMap/Patch#isEmpty; size=" + isEmptyMethod.size());
}
this.hasExtraData = !(boolean) isEmptyMethod.get(0).invoke(extraData);
}
Expand Down

0 comments on commit c5a44ff

Please sign in to comment.