Skip to content

Commit

Permalink
fix #36 : fix build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
fhebuterne committed May 20, 2024
1 parent 5044d16 commit ff2e3d4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ import com.mojang.brigadier.tree.LiteralCommandNode
import me.lucko.commodore.Commodore
import me.lucko.commodore.CommodoreProvider
import me.lucko.commodore.file.CommodoreFileReader
import org.bukkit.command.Command
import org.bukkit.command.PluginCommand
import org.bukkit.plugin.java.JavaPlugin

class CommodoreService {

fun init(plugin: JavaPlugin, command: Command) {
fun init(plugin: JavaPlugin, command: PluginCommand?) {
val commodore: Commodore = CommodoreProvider.getCommodore(plugin)
val marketPlaceCommand: LiteralCommandNode<Any> =
CommodoreFileReader.INSTANCE.parse(plugin.getResource("marketplace.commodore"))
Expand Down

0 comments on commit ff2e3d4

Please sign in to comment.