diff --git a/src/main/java/com/linyuanlin/minecraft/App.java b/src/main/java/com/linyuanlin/minecraft/App.java index 13291fd..e970116 100644 --- a/src/main/java/com/linyuanlin/minecraft/App.java +++ b/src/main/java/com/linyuanlin/minecraft/App.java @@ -57,6 +57,7 @@ public void onEnable() { this.tradeManager = new TradeManager(); this.guildManager = new GuildManager(); this.locationManager = new LocationManager(); + this.PMH = new PluginMessageHandler(); this.getServer().getMessenger().registerOutgoingPluginChannel(this, "BungeeCord"); this.getServer().getMessenger().registerIncomingPluginChannel(this, "BungeeCord", this.PMH);