9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2025-12-28 19:39:11 +00:00
This commit is contained in:
XiaoMoMi
2025-03-25 16:57:52 +08:00
8 changed files with 105 additions and 34 deletions

View File

@@ -163,7 +163,7 @@ public class BukkitNetworkManager implements NetworkManager, Listener {
}
// for mod
@EventHandler
@EventHandler(priority = EventPriority.LOWEST)
public void onPlayerRegisterChannel(PlayerRegisterChannelEvent event) {
if (!event.getChannel().equals(MOD_CHANNEL)) return;
Player player = event.getPlayer();