I'm trying to inject code into EntityPlayer.addExhaustion to adjust the amount of exhaustion added. Everything works fine when launching inside Eclipse and when ran with "gradlew runClient". But when I'm trying to launch it from the official launcher, I get this exception: http://pastebin.com/AzL49EgE.
The code can be seen here: https://github.com/lepakko683/SoulMagic/blob/master/src/main/java/celestibytes/soulmagic/asm/CTEntityPlayer.java#L78