This commit is contained in:
2025-02-13 02:46:25 +08:00
parent 48217cca0d
commit 81582b4f61
3 changed files with 124 additions and 14 deletions

View File

@@ -2,6 +2,7 @@ package xyz.fortern.minehunt
import org.bukkit.Bukkit
import org.bukkit.plugin.java.JavaPlugin
import xyz.fortern.minehunt.command.MinehuntCommand
import xyz.fortern.minehunt.command.TestCommand
import xyz.fortern.minehunt.listener.PlayerListener
@@ -27,6 +28,7 @@ class Minehunt : JavaPlugin() {
// 注册事件
Bukkit.getPluginCommand("test")!!.setExecutor(TestCommand())
Bukkit.getPluginCommand("minehunt")!!.setExecutor(MinehuntCommand(console))
}