fixed classname mismatch

This commit is contained in:
squall 2021-12-02 11:22:54 +08:00
parent 16c01a34a3
commit f072b324cc

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