Merge pull request #21 from squallliu/master

fixed classname mismatch
This commit is contained in:
Neo Peng 2021-12-02 11:32:11 +08:00 committed by GitHub
commit 762138e326
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}