Open ghost opened 10 years ago
added a try-catch for obfuscated and deobfuscated
Take a proper look at setPrivateValue :) it accepts an array of field names to try, not only a single string it will set the first one it finds that exists. However the values used are wrong. those obfustiated names are for the 1.6.4 version. Once I get back home tommorow I will find the needed values.
i am incredibly thick, thanks for pointing that setPrivateValue does that. the obfuscated names however are correct and were tested in 1.7.10. i'll make one final commit and hope i dont accidentally nuke the Chinese in the progress.
Seriously? Hope you don't mind then will test thoroughly first, as I dont know why Flax would have commented out
Test this in a non development environment.your using the non obfusticated field names