mirror of
				https://e.coding.net/circlecloud/QuickShop.git
				synced 2025-11-03 17:56:41 +00:00 
			
		
		
		
	move reloadConfig to reload...
Signed-off-by: j502647092 <jtb1@163.com>
This commit is contained in:
		@@ -384,6 +384,7 @@ public class QS implements CommandExecutor {
 | 
			
		||||
			sender.sendMessage(MsgUtil.p("command.reloading"));
 | 
			
		||||
			Bukkit.getPluginManager().disablePlugin(plugin);
 | 
			
		||||
			Bukkit.getPluginManager().enablePlugin(plugin);
 | 
			
		||||
			plugin.reloadConfig();
 | 
			
		||||
			return;
 | 
			
		||||
		}
 | 
			
		||||
		sender.sendMessage(MsgUtil.p("no-permission"));
 | 
			
		||||
 
 | 
			
		||||
@@ -205,7 +205,6 @@ public class QuickShop extends JavaPlugin {
 | 
			
		||||
			e.printStackTrace();
 | 
			
		||||
		}
 | 
			
		||||
		this.warnings.clear();
 | 
			
		||||
		this.reloadConfig();
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	@Override
 | 
			
		||||
@@ -222,7 +221,6 @@ public class QuickShop extends JavaPlugin {
 | 
			
		||||
		if (loadEcon() == false) {
 | 
			
		||||
			return;
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		// Initialize Util
 | 
			
		||||
		Util.initialize();
 | 
			
		||||
		ItemConfig.load(this);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user