Skip to content

Commit

Permalink
修复 param.toString()
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghost-chu committed Jan 13, 2025
1 parent c457fad commit 4d9347f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public void write(JsonWriter out, TranslationComponent value) throws IOException
// 如果是 TranslationComponent,递归调用 write 方法
TranslationComponentTypeAdapter.INSTANCE.write(out, (TranslationComponent) param);
} else {
out.value(value.toString());
out.value(param.toString());
}
}
out.endArray(); // 结束 JSON 数组
Expand Down

0 comments on commit 4d9347f

Please sign in to comment.