This commit is contained in:
2025-02-01 14:38:49 +08:00
parent e9ea1b2ecf
commit c53a74bfb2
8 changed files with 106 additions and 51 deletions

View File

@@ -3,6 +3,7 @@ package xyz.fortern.minehunt
import org.bukkit.Bukkit
import org.bukkit.plugin.java.JavaPlugin
import xyz.fortern.minehunt.command.GodCommand
import xyz.fortern.minehunt.command.TestCommand
import xyz.fortern.minehunt.listener.PlayerListener
class Minehunt : JavaPlugin() {
@@ -24,6 +25,7 @@ class Minehunt : JavaPlugin() {
Bukkit.getPluginManager().registerEvents(PlayerListener(console), this)
Bukkit.getPluginCommand("god")!!.setExecutor(GodCommand())
Bukkit.getPluginCommand("test")!!.setExecutor(TestCommand())
}