Fix wrong order loading
This commit is contained in:
		@@ -30,12 +30,12 @@ public class LibsDisguises extends JavaPlugin {
 | 
			
		||||
 | 
			
		||||
    @Override
 | 
			
		||||
    public void onLoad() {
 | 
			
		||||
        instance = this;
 | 
			
		||||
 | 
			
		||||
        if (Bukkit.getServer().getWorlds().isEmpty()) {
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        instance = this;
 | 
			
		||||
 | 
			
		||||
        WatcherSanitizer.init();
 | 
			
		||||
 | 
			
		||||
        reloaded = true;
 | 
			
		||||
 
 | 
			
		||||
@@ -47,7 +47,7 @@ public class WatcherSanitizer {
 | 
			
		||||
 | 
			
		||||
                PluginDescriptionFile desc = (PluginDescriptionFile) dF.get(loader);
 | 
			
		||||
 | 
			
		||||
                DisguiseUtilities.getLogger().severe(desc.getFullName() +
 | 
			
		||||
                LibsDisguises.getInstance().getLogger().severe(desc.getFullName() +
 | 
			
		||||
                        " has been a naughty plugin, they're declaring access to the disguise watchers before Lib's " +
 | 
			
		||||
                        "Disguises can properly load them! They should add 'LibsDisguises' to the 'depend' section of" +
 | 
			
		||||
                        " their plugin.yml!");
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user