From df8cbd49a3bb72288f19faf8acef921c81645177 Mon Sep 17 00:00:00 2001 From: Auxilor Date: Fri, 28 Oct 2022 13:17:10 +0100 Subject: [PATCH] Added lrcdb commands --- .../src/main/kotlin/com/willfp/boosters/BoostersPlugin.kt | 2 +- .../kotlin/com/willfp/boosters/commands/CommandBoosters.kt | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/boosters/BoostersPlugin.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/boosters/BoostersPlugin.kt index adf46b0..ebf8f72 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/boosters/BoostersPlugin.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/boosters/BoostersPlugin.kt @@ -10,7 +10,7 @@ import com.willfp.libreforge.LibReforgePlugin import org.bukkit.Bukkit import org.bukkit.event.Listener -class BoostersPlugin : LibReforgePlugin(supportsLrcdb = false) { +class BoostersPlugin : LibReforgePlugin() { override fun handleEnableAdditional() { this.copyConfigs("boosters") diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/boosters/commands/CommandBoosters.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/boosters/commands/CommandBoosters.kt index d72e3a1..8a09911 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/boosters/commands/CommandBoosters.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/boosters/commands/CommandBoosters.kt @@ -2,6 +2,7 @@ package com.willfp.boosters.commands import com.willfp.boosters.boosters.Boosters import com.willfp.boosters.gui.BoosterGUI +import com.willfp.eco.core.command.impl.PluginCommand import com.willfp.libreforge.LibReforgePlugin import com.willfp.libreforge.lrcdb.CommandExport import com.willfp.libreforge.lrcdb.CommandImport @@ -10,7 +11,7 @@ import org.bukkit.command.CommandSender import org.bukkit.entity.Player class CommandBoosters(plugin: LibReforgePlugin) : - com.willfp.eco.core.command.impl.PluginCommand( + PluginCommand( plugin, "boosters", "boosters.command.boosters",