diff --git a/src/main/java/io/zhile/research/ja/netfilter/Initializer.java b/src/main/java/io/zhile/research/ja/netfilter/Initializer.java index 39d8ba5..a9637c8 100644 --- a/src/main/java/io/zhile/research/ja/netfilter/Initializer.java +++ b/src/main/java/io/zhile/research/ja/netfilter/Initializer.java @@ -32,7 +32,7 @@ public class Initializer { Set classSet = Dispatcher.getInstance().getHookClassNames(); for (Class c : inst.getAllLoadedClasses()) { String name = c.getName(); - if (!classSet.contains(name.replace('/', '.'))) { + if (!classSet.contains(name.replace('.', '/'))) { continue; }