Hello,
I've been trying to create a mod that has a Discord RPC and more. Inside of the RPC it should contain the server IP that you are currently playing on. However when I've tried using
Minecraft.getMinecraft().getCurrentServerData().serverIP;
it has thrown an error inside of the console and a disconnect message saying the same thing.
This is the error I'm getting:
Does anyone know what I could be doing wrong?
Thanks,
George