Skip to content

Commit edbc5c9

Browse files
committed
Fix nbt ops list error message
1 parent fbbbfa2 commit edbc5c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/net/errorcraft/codecium/mixin/minecraft/nbt/NbtOpsExtender.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ private Supplier<String> notAMapUseBetterErrorMessage(Supplier<String> message,
4848
}
4949

5050
@ModifyArg(
51-
method = "getStream(Lnet/minecraft/nbt/NbtElement;)Lcom/mojang/serialization/DataResult;",
51+
method = { "getStream(Lnet/minecraft/nbt/NbtElement;)Lcom/mojang/serialization/DataResult;", "getList(Lnet/minecraft/nbt/NbtElement;)Lcom/mojang/serialization/DataResult;" },
5252
at = @At(
5353
value = "INVOKE",
5454
target = "Lcom/mojang/serialization/DataResult;error(Ljava/util/function/Supplier;)Lcom/mojang/serialization/DataResult;"

0 commit comments

Comments
 (0)