Removes the KnarLib.setPlugin call

This commit is contained in:
Kristian Knarvik 2022-11-07 22:21:13 +01:00
parent 628453e902
commit 5b54c665c1

View File

@ -1,7 +1,6 @@
package net.knarcraft.minstrel;
import net.citizensnpcs.api.CitizensAPI;
import net.knarcraft.knarlib.KnarLib;
import net.knarcraft.minstrel.command.MinstrelCommand;
import net.knarcraft.minstrel.command.MinstrelTabCompleter;
import net.knarcraft.minstrel.listener.MinstrelListener;
@ -27,7 +26,6 @@ public final class MinstrelPlugin extends JavaPlugin {
public void onEnable() {
// Plugin startup logic
instance = this;
KnarLib.setPlugin(this);
//Register the blacksmith trait with Citizens
CitizensAPI.getTraitFactory().registerTrait(