Xujiayao / Discord-MC-Chat

Discord-MC-Chat (DMCC), formerly known as MC-Discord-Chat and MCDiscordChat (MCDC), is a practical and powerful Fabric and Quilt Minecraft <> Discord chat bridge inspired by BRForgers/DisFabric
https://blog.xujiayao.com/posts/4ba0a17a/
MIT License
65 stars 36 forks source link

[Bug] Whenever using multiple servers one of my server crashes #91

Open tropicthedev opened 2 years ago

tropicthedev commented 2 years ago

Checks

Java Version

17

Minecraft Version

1.19.2

MCDiscordChat Version

2.0.0

Description

I am trying to enable multiserver on the latest update but whenever I do I get this error that crashes one of my servers Cannot invoke "top.xujiayao.mcdiscordchat.multiServer.client.WriteThread.write(String)" because "this.client.writeThread" is null

To Reproduce

I made my config files on both servers, i then started up the first server and after 15 seconds i started up the other.

Log

https://pastebin.com/XzsTk3mp

Config

https://pastebin.com/HqAuP70P

Edited because apparently i don't know how to copy and paste

tropicthedev commented 2 years ago

In this case its my creative server that is crashing

Xujiayao commented 2 years ago

Could you send the log of the another server?

tropicthedev commented 2 years ago

@Xujiayao https://pastebin.com/mEXF2gUR

Xujiayao commented 2 years ago

Your creative server is not even connected to the another server, that's why writeThread is not initialized. There is a Timed Out exception in the creative server log, make sure port 19132 is accessible to the creative server.