Hello, I am currently working on porting a mod from 1.8 to 1.8.9. In the process, I received an error regarding the player's session.
When I hover over the word session on line 44, it tells me "'session' has private access in 'net.minecraft.client.Minecraft'"
In the original mod, there is a .cfg in the META-INF folder to make session public.
I am using IntelliJ and I tried adding a folder named META-INF in src.main.resources.
I made a .cfg stating "public-f net.minecraft.client.Minecraft session # session"
When I exported the mod, the manifest.mf exported blank so I believe that is why the .cfg didn't work either.
Here is the class below: (Line 44 is the line of the error)
https://pastebin.com/YuqvVK8z
I am new to porting mods and using IntelliJ.
Any help is greating appreciated. Thanks!