Removes KnarLib.setPlugin call

This commit is contained in:
Kristian Knarvik 2022-11-07 22:24:33 +01:00
parent 2383dfd2ef
commit 51371736e4

View File

@ -27,7 +27,6 @@ import net.knarcraft.bookswithoutborders.listener.BookEventListener;
import net.knarcraft.bookswithoutborders.listener.PlayerEventListener;
import net.knarcraft.bookswithoutborders.listener.SignEventListener;
import net.knarcraft.bookswithoutborders.utility.BookFileHelper;
import net.knarcraft.knarlib.KnarLib;
import net.knarcraft.knarlib.util.UpdateChecker;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
@ -111,8 +110,6 @@ public class BooksWithoutBorders extends JavaPlugin {
@Override
public void onEnable() {
KnarLib.setPlugin(this);
FileConfiguration config = this.getConfig();
config.options().copyDefaults(true);
this.saveDefaultConfig();