Fix SandHook and close #662
This commit is contained in:
parent
9c0a5d6abc
commit
e95344a3ea
|
|
@ -95,8 +95,6 @@ public class SandHook {
|
||||||
if (SandHookConfig.delayHook && PendingHookHandler.canWork() && ClassStatusUtils.isStaticAndNoInited(entity.target)) {
|
if (SandHookConfig.delayHook && PendingHookHandler.canWork() && ClassStatusUtils.isStaticAndNoInited(entity.target)) {
|
||||||
PendingHookHandler.addPendingHook(entity);
|
PendingHookHandler.addPendingHook(entity);
|
||||||
return;
|
return;
|
||||||
} else if (entity.initClass) {
|
|
||||||
resolveStaticMethod(target);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
resolveStaticMethod(backup);
|
resolveStaticMethod(backup);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue