MaxPixelStudios/MinecraftDecompiler

[BUG] [2.3-SNAPSHOT] Field/Method duplicate when remapping

XiaoPangxie732 opened this issue · 0 comments

Describe the bug
Field duplicate when remapping

To Reproduce
Steps to reproduce the behavior:

  1. Run MCD
  2. See error

Expected behavior
Run successfully

System Info:

  • OS: Windows 10
  • Arch: x64
  • Java: AdoptOpenJDK HotSpot 16.0.1+9
  • MinecraftDecompiler Version 2.3-SNAPSHOT

Additional context
This is because when processing fields in super classes, SC1 class has an inaccessible field, SC2 class has an accessible field. They may have the same obfuscated name. But MinecraftDecompiler doesn't know how to choose because it can't get the field's access flags when deobfuscating.