Skip to content

Commit

Permalink
测试
Browse files Browse the repository at this point in the history
  • Loading branch information
TheFloodDragon committed Jun 30, 2023
1 parent 7f4b7df commit 3e1f3d0
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ on:
jobs:
build:
#奇怪的问题——ubuntu就是构建不了
#runs-on: ubuntu-latest
runs-on: windows-latest
runs-on: ubuntu-latest
#runs-on: windows-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
package cn.fd.utilities.bukkit.command

import taboolib.common.platform.Platform
import taboolib.common.platform.PlatformSide
import taboolib.common.platform.command.CommandBody
import taboolib.common.platform.command.CommandHeader
import taboolib.common.platform.command.mainCommand
import taboolib.common.platform.command.subCommand

@PlatformSide([Platform.BUKKIT])
@CommandHeader(name = "fdutilities")
object MainCommand {

/**
* 重载插件的命令
*/
@CommandBody
val main = mainCommand {
}

//测试命令
@CommandBody
val test = subCommand {

}

}
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
package cn.fd.utilities.common.util

import taboolib.common.platform.function.console
import taboolib.module.lang.Level
import taboolib.module.lang.sendMessage

fun debug(level: Level = Level.INFO, message: String, vararg args: Any) {
console().sendMessage(level, message, args)
}

/**
* 从一个含有列表(元素)的列表中合并子列表(元素)
* 效果:
Expand Down
1 change: 1 addition & 0 deletions project/module-core/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dependencies {}

0 comments on commit 3e1f3d0

Please sign in to comment.