Skip to content

Commit 506c5b1

Browse files
committed
fix: fixed the missmatch between plugin and mcp server, same as previous commit but for following class handleSmaliOfClass(), v2.4.10
1 parent a49c7a6 commit 506c5b1

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/main/java/jadx/gui/plugins/JadxAIMCP.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -382,10 +382,7 @@ private void handleSmaliOfClass(Context ctx) {
382382
JadxWrapper wrapper = mainWindow.getWrapper();
383383
for (JavaClass cls : wrapper.getIncludedClassesWithInners()) {
384384
if (cls.getFullName().equals(className)) {
385-
ctx.json(Map.of(
386-
"class", className,
387-
"type", "code/smali",
388-
"content", cls.getSmali()));
385+
ctx.result(cls.getSmali());
389386
return;
390387
}
391388
}

0 commit comments

Comments
 (0)