Hopefully fixed channel registration and deploy
This commit is contained in:
parent
6bbc571393
commit
d997042e1a
|
@ -94,7 +94,8 @@ public class Channel {
|
|||
|
||||
static void RegisterChannel(Channel channel) {
|
||||
channels.add(channel);
|
||||
Bukkit.getPluginManager().callEvent(new ChatChannelRegisterEvent(channel));
|
||||
Bukkit.getScheduler().runTask(MainPlugin.Instance,
|
||||
() -> Bukkit.getPluginManager().callEvent(new ChatChannelRegisterEvent(channel))); // Wait for server start
|
||||
}
|
||||
|
||||
public static class RecipientTestResult {
|
||||
|
|
Loading…
Reference in a new issue