Skip to content

Commit c5a44ff

Browse files
committed
Fix formatting
1 parent 1da3e6a commit c5a44ff

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cloud-bukkit/src/main/java/org/incendo/cloud/bukkit/parser/ItemStackParser.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,8 @@ private static final class ModernProtoItemStack implements ProtoItemStack {
251251
.filter(it -> it.getParameterCount() == 0 && it.getReturnType().equals(boolean.class))
252252
.collect(Collectors.toList());
253253
if (isEmptyMethod.size() != 1) {
254-
throw new IllegalStateException("Failed to locate DataComponentMap/Patch#isEmpty; size=" + isEmptyMethod.size());
254+
throw new IllegalStateException(
255+
"Failed to locate DataComponentMap/Patch#isEmpty; size=" + isEmptyMethod.size());
255256
}
256257
this.hasExtraData = !(boolean) isEmptyMethod.get(0).invoke(extraData);
257258
}

0 commit comments

Comments
 (0)