mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-20 04:09:51 +00:00
Make final transformers actually work on methods as well.
This commit is contained in:
1 parent
d2712dafdb
commit
1928c177ac
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