init 3
This commit is contained in:
@@ -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())
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user