LeaHiHi / Interweave

Fabric <--> Discord linking!
MIT License
1 stars 2 forks source link

cant send messages ingame to discord #19

Open Varkest opened 2 years ago

Varkest commented 2 years ago

Hello there! I really like this mod!, I just seem to have a slight problem sending messages  from in-game to discord. I am getting the following error when I type a message in game: 

Uncaught exception in thread "Interweave" java.lang.ClassCastException: class net.minecraft.class_7417$1 cannot be cast to class net.minecraft.class_2585 (net.minecraft.class_7417$1 and net.minecraft.class_2585 are in unnamed module of loader net.fabricmc.loader.impl.launch.knot.KnotClassLoader @dfd3711) at main.Interweave.lambda$sendMessage$4(Interweave.java:165) ~[interweave-1.0.3.jar:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?] at java.lang.Thread.run(Thread.java:833) [?:?]

The server is running the latest Fabric-API 0.56.0 for Minecraft 1.19 Its neither crashing nor preventing other functions of the interweave mod, I can send messages from discord to minecraft without a problem, as well as receive start/stop join/leave messages on discord.

If theres any way I can showcase this problem to you better please let me know!

LeaHiHi commented 2 years ago

I don't seem to be able to recreate this, could you send me your mod list and your interweaveConfig.json? (Make sure to redact the discordToken and channelID).

Varkest commented 2 years ago

Yes!

heres the interweaveConfig.json: Unbenannt

and heres the mod-list with all what we currently use: (might be worth noting that I extracted it from the "latest" log, I hope this isnt too cluttered, if not I'll send in just the normal mod-list)

1 2 3

This is my first time really interacting on github so I hope I'm not being too much! thanks a lot!