File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed
Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -18,18 +18,6 @@ public void Awake()
1818 {
1919 var harmony = new HarmonyLib . Harmony ( PluginName ) ;
2020
21- // Early initialization of AMDaemon.NET
22- try
23- {
24- AmManager . Instance . Initialize ( ) ;
25- harmony . PatchAll ( typeof ( Plugin ) ) ;
26- }
27- catch ( Exception ex )
28- {
29- LogSource . LogError ( $ "AMDaemon.NET early initialization failed: { ex . Message } ") ;
30- return ;
31- }
32-
3321 Common . AquaMai . Bootstrap ( new BootstrapOptions
3422 {
3523 CurrentAssembly = Assembly . GetExecutingAssembly ( ) ,
@@ -47,11 +35,4 @@ public void OnGUI()
4735 {
4836 Common . AquaMai . OnGUI ( ) ;
4937 }
50-
51- [ HarmonyLib . HarmonyPatch ( typeof ( AmManager ) , "Initialize" ) ]
52- [ HarmonyLib . HarmonyPrefix ]
53- public static bool PreAmManagerInitialize ( )
54- {
55- return false ; // Prevent AMDaemon.NET from initializing again
56- }
5738}
You can’t perform that action at this time.
0 commit comments