register event

This commit is contained in:
redstone2888 2026-07-06 19:16:53 +04:00
parent ef1d717a48
commit dee00eac5b
3 changed files with 4 additions and 42 deletions

View file

@ -6,6 +6,7 @@ import de.kentoj.scrow.bukkit.command.instance.InstanceCache;
import de.kentoj.scrow.bukkit.command.instance.InstanceCommand;
import de.kentoj.scrow.bukkit.command.instance.LobbyCommand;
import de.kentoj.scrow.bukkit.command.instance.PlayCommand;
import de.kentoj.scrow.bukkit.listener.ChatFormatEvent;
import org.bukkit.plugin.java.JavaPlugin;
import java.io.IOException;
@ -28,6 +29,9 @@ public class CoreImplPlugin extends JavaPlugin {
ScrowAPI.getCommandApi().register(new LobbyCommand().getRootNode());
}
// Listeners
getServer().getPluginManager().registerEvents(new ChatFormatEvent(), this);
// TODO/FIXME
//registerServer();
}