This commit is contained in:
rockyhawk64 2025-07-30 16:47:30 +10:00
parent 896ab8b15c
commit 14a36c43b0
2 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,4 @@
version: 4.0.4
version: 4.0.5
main: me.rockyhawk.commandpanels.CommandPanels
name: CommandPanels
author: RockyHawk

View File

@ -42,6 +42,10 @@ public class Context {
Bukkit.getServer().getPluginManager().registerEvents(new ClickEvents(this), plugin);
Bukkit.getServer().getPluginManager().registerEvents(generator, plugin);
// Register proxy channels
Bukkit.getServer().getMessenger().registerOutgoingPluginChannel(plugin, "velocity:main");
Bukkit.getServer().getMessenger().registerOutgoingPluginChannel(plugin, "BungeeCord");
// Register PlaceholderAPI in run task to ensure initialisation is complete
Bukkit.getScheduler().runTask(plugin, () -> {
if (Bukkit.getPluginManager().isPluginEnabled("PlaceholderAPI")) {