We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1da3e6a commit c5a44ffCopy full SHA for c5a44ff
cloud-bukkit/src/main/java/org/incendo/cloud/bukkit/parser/ItemStackParser.java
@@ -251,7 +251,8 @@ private static final class ModernProtoItemStack implements ProtoItemStack {
251
.filter(it -> it.getParameterCount() == 0 && it.getReturnType().equals(boolean.class))
252
.collect(Collectors.toList());
253
if (isEmptyMethod.size() != 1) {
254
- throw new IllegalStateException("Failed to locate DataComponentMap/Patch#isEmpty; size=" + isEmptyMethod.size());
+ throw new IllegalStateException(
255
+ "Failed to locate DataComponentMap/Patch#isEmpty; size=" + isEmptyMethod.size());
256
}
257
this.hasExtraData = !(boolean) isEmptyMethod.get(0).invoke(extraData);
258
0 commit comments