Skip to content

Commit 7948734

Browse files
committed
fix debug class
1 parent 2d46a3e commit 7948734

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/com/wmods/wppenhacer/xposed/utils/DebugUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public static void debugArgs(Object[] args) {
7070
public static void debugMethods(Class<?> cls, Object thisObject) {
7171
XposedBridge.log("DEBUG METHODS: Class " + cls.getName());
7272
for (var method : cls.getDeclaredMethods()) {
73-
if (method.getParameterCount() > 0) continue;
73+
if (method.getParameterCount() > 0 || method.getReturnType() == void.class) continue;
7474
try {
7575
method.setAccessible(true);
7676
XposedBridge.log("METHOD: " + method.getName() + " -> VALUE: " + method.invoke(thisObject));

0 commit comments

Comments
 (0)