Merge pull request #21 from squallliu/master

fixed classname mismatch
pull/1/head
Neo Peng 3 years ago committed by GitHub
commit 762138e326
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -32,7 +32,7 @@ public class Initializer {
Set<String> classSet = Dispatcher.getInstance().getHookClassNames();
for (Class<?> c : inst.getAllLoadedClasses()) {
String name = c.getName();
if (!classSet.contains(name.replace('/', '.'))) {
if (!classSet.contains(name.replace('.', '/'))) {
continue;
}

Loading…
Cancel
Save