Adds missing constructors required for MockBukkit
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				KnarCraft/KnarLib/pipeline/head This commit looks good
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	KnarCraft/KnarLib/pipeline/head This commit looks good
				
			This commit is contained in:
		@@ -5,10 +5,13 @@ import org.bukkit.command.CommandExecutor;
 | 
			
		||||
import org.bukkit.command.PluginCommand;
 | 
			
		||||
import org.bukkit.command.TabExecutor;
 | 
			
		||||
import org.bukkit.configuration.file.FileConfiguration;
 | 
			
		||||
import org.bukkit.plugin.PluginDescriptionFile;
 | 
			
		||||
import org.bukkit.plugin.java.JavaPlugin;
 | 
			
		||||
import org.bukkit.plugin.java.JavaPluginLoader;
 | 
			
		||||
import org.jetbrains.annotations.NotNull;
 | 
			
		||||
import org.jetbrains.annotations.Nullable;
 | 
			
		||||
 | 
			
		||||
import java.io.File;
 | 
			
		||||
import java.util.logging.Level;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
@@ -19,6 +22,28 @@ public abstract class ConfigCommentPlugin extends JavaPlugin {
 | 
			
		||||
 | 
			
		||||
    private StargateYamlConfiguration configuration = null;
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * Instantiates a new ConfigCommentPlugin
 | 
			
		||||
     */
 | 
			
		||||
    protected ConfigCommentPlugin() {
 | 
			
		||||
        super();
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * Instantiates a new ConfigCommentPlugin
 | 
			
		||||
     * 
 | 
			
		||||
     * <p>This is used for MockBukkit compatibility</p>
 | 
			
		||||
     *
 | 
			
		||||
     * @param loader <p>The plugin loader to use</p>
 | 
			
		||||
     * @param descriptionFile <p>The plugin description file to use</p>
 | 
			
		||||
     * @param dataFolder <p>The data folder for plugin data</p>
 | 
			
		||||
     * @param file <p>?</p>
 | 
			
		||||
     */
 | 
			
		||||
    protected ConfigCommentPlugin(@NotNull JavaPluginLoader loader, @NotNull PluginDescriptionFile descriptionFile,
 | 
			
		||||
                               @NotNull File dataFolder, @NotNull File file) {
 | 
			
		||||
        super(loader, descriptionFile, dataFolder, file);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Override
 | 
			
		||||
    public void reloadConfig() {
 | 
			
		||||
        this.configuration = StargateYamlConfiguration.loadConfiguration(this, true);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user