Starts on the Scrapper implementation
This commit is contained in:
src/main
java
net
knarcraft
blacksmith
BlacksmithPlugin.java
command
BlackSmithConfigCommand.javaBlackSmithConfigTabCompleter.javaBlackSmithEditCommand.javaBlackSmithEditTabCompleter.java
config
NPCSetting.java
blacksmith
BlacksmithNPCSetting.javaBlacksmithNPCSettings.javaGlobalBlacksmithSetting.javaGlobalBlacksmithSettings.java
scrapper
manager
trait
resources
@ -7,7 +7,7 @@ import net.knarcraft.blacksmith.command.BlackSmithEditCommand;
|
||||
import net.knarcraft.blacksmith.command.BlackSmithEditTabCompleter;
|
||||
import net.knarcraft.blacksmith.command.PresetCommand;
|
||||
import net.knarcraft.blacksmith.command.PresetTabCompleter;
|
||||
import net.knarcraft.blacksmith.config.GlobalSettings;
|
||||
import net.knarcraft.blacksmith.config.blacksmith.GlobalBlacksmithSettings;
|
||||
import net.knarcraft.blacksmith.formatting.BlacksmithTranslatableMessage;
|
||||
import net.knarcraft.blacksmith.listener.NPCClickListener;
|
||||
import net.knarcraft.blacksmith.listener.PlayerListener;
|
||||
@ -33,7 +33,7 @@ import java.util.logging.Level;
|
||||
public class BlacksmithPlugin extends JavaPlugin {
|
||||
|
||||
private static BlacksmithPlugin instance;
|
||||
private GlobalSettings config;
|
||||
private GlobalBlacksmithSettings config;
|
||||
private static Translator translator;
|
||||
private static StringFormatter stringFormatter;
|
||||
|
||||
@ -67,7 +67,7 @@ public class BlacksmithPlugin extends JavaPlugin {
|
||||
*
|
||||
* @return <p>Settings for the blacksmith plugin</p>
|
||||
*/
|
||||
public GlobalSettings getSettings() {
|
||||
public GlobalBlacksmithSettings getSettings() {
|
||||
return config;
|
||||
}
|
||||
|
||||
@ -115,7 +115,7 @@ public class BlacksmithPlugin extends JavaPlugin {
|
||||
this.saveConfig();
|
||||
|
||||
//Load settings
|
||||
config = new GlobalSettings(this);
|
||||
config = new GlobalBlacksmithSettings(this);
|
||||
config.load();
|
||||
|
||||
//Prepare the translator
|
||||
|
Reference in New Issue
Block a user