Compare commits
	
		
			2 Commits
		
	
	
		
			bc194e4761
			...
			3dbee3f3cc
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 3dbee3f3cc | |||
| 3fe0ad1623 | 
@@ -14,7 +14,7 @@ namespace ConfigPlugin
 | 
			
		||||
        public override Version Version => new Version(1, 0, 0, 0);
 | 
			
		||||
        
 | 
			
		||||
        // instantiate our config class
 | 
			
		||||
        public static readonly string ConfigPath = Path.Combine(TShock.SavePath, "Config.json");
 | 
			
		||||
        public static readonly string ConfigPath = Path.Combine(TShock.SavePath, "ConfigPlugin.json");
 | 
			
		||||
        private Config? _config = new Config();
 | 
			
		||||
 | 
			
		||||
        public override void Initialize()
 | 
			
		||||
@@ -24,7 +24,7 @@ namespace ConfigPlugin
 | 
			
		||||
            
 | 
			
		||||
            PerformConfigOperations();
 | 
			
		||||
            
 | 
			
		||||
            Console.WriteLine("[ConfigPlugin] Plugin is loaded");
 | 
			
		||||
            Console.WriteLine("[ConfigPlugin] Plugin is loading...");
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        private void OnReload(ReloadEventArgs args)
 | 
			
		||||
@@ -58,8 +58,10 @@ namespace ConfigPlugin
 | 
			
		||||
        {
 | 
			
		||||
            if (disposing)
 | 
			
		||||
            {
 | 
			
		||||
                base.Dispose(disposing);
 | 
			
		||||
                Console.WriteLine("[ConfigPlugin] Plugin is unloading...");
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            base.Dispose(disposing);
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user