fixed classname mismatch

pull/1/head
squall 3 years ago
parent 16c01a34a3
commit f072b324cc

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