0

I'm wondering how to get Minecraft session id with Forge mod. Normally in Minecraft you use mc.session.getToken() but in Forge it doesn't show up. Anyone knows how to do it?

pppery
  • 3,550
  • 19
  • 28
  • 41

1 Answers1

0

As shown in this post's answers: https://stackoverflow.com/questions/67506263/how-to-get-a-minecarft-session-id#:~:text=You%20can%20manually%20crash%20your,will%20be%20your%20session%20id.

The top answer shows:

Minecraft mc = Minecraft.getMinecraft();

mc.getSession().getToken();

Maybe this is a capitalization error?

Blue Robin
  • 222
  • 3
  • 13