mirror of
https://github.com/LegacyModdingMC/UniMix.git
synced 2026-11-19 16:29:45 +00:00
Strip the FINAL flag from all targets
This commit is contained in:
1 parent
b43aaeb356
commit
cf5a44020a
1 file changed
+2
-2
@@ -464,8 +464,8 @@ class MixinApplicatorStandard {
|
||||
if (target != null) {
|
||||
Annotations.merge(shadow, target);
|
||||
|
||||
// Strip the FINAL flag from @Mutable non-private fields
|
||||
if (entry.getValue().isDecoratedMutable() && !Bytecode.hasFlag(target, Opcodes.ACC_PRIVATE)) {
|
||||
// Strip the FINAL flag from @Mutable fields
|
||||
if (entry.getValue().isDecoratedMutable()) {
|
||||
target.access &= ~Opcodes.ACC_FINAL;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user