Doclic / NoEncryption

Removes signatures from Minecraft chat messages
GNU General Public License v3.0
225 stars 18 forks source link

IllegalAccessException fix #3

Closed NotAHolyPerson closed 2 years ago

NotAHolyPerson commented 2 years ago

This commit fixes #2.

Explanation:

Because of java.lang.IllegalAccessException - a thing which doesn't let you work with non-accessible fields, methods, etc, you can't simply set the field without making it accessible, it will produce this exception. That's why I added setAccessible().