mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 16:54:22 +00:00
Make final transformers actually work on methods as well.
This commit is contained in:
1 parent
e7dd728f95
commit
82d896a35e
1 file changed
+1
-1
@@ -284,7 +284,7 @@ public class AccessTransformer implements IClassTransformer
|
||||
}
|
||||
|
||||
// Clear the "final" marker on fields only if specified in control field
|
||||
if (target.changeFinal && target.desc == "")
|
||||
if (target.changeFinal)
|
||||
{
|
||||
if (target.markFinal)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user