Starts on the Scrapper implementation

This commit is contained in:
2023-11-12 19:02:11 +01:00
parent 72ea5600fe
commit 3e3a35d02a
17 changed files with 697 additions and 518 deletions

@ -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