parent
b8cd073050
commit
01143501c7
|
|
@ -95,6 +95,8 @@ 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