mirror of
https://github.com/rockyhawk64/CommandPanels.git
synced 2025-11-18 07:14:17 +01:00
4.0.5
This commit is contained in:
parent
896ab8b15c
commit
14a36c43b0
@ -1,4 +1,4 @@
|
||||
version: 4.0.4
|
||||
version: 4.0.5
|
||||
main: me.rockyhawk.commandpanels.CommandPanels
|
||||
name: CommandPanels
|
||||
author: RockyHawk
|
||||
|
||||
@ -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")) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user