Skip to content

Make the V1 Reader Empty Value Aware#7

Open
calmilamsy wants to merge 5 commits intoFabricMC:masterfrom
calmilamsy:master
Open

Make the V1 Reader Empty Value Aware#7
calmilamsy wants to merge 5 commits intoFabricMC:masterfrom
calmilamsy:master

Conversation

@calmilamsy
Copy link

@calmilamsy calmilamsy commented Mar 11, 2022

Fixes errors related to the target name being empty, and should fix support for v1 mappings with empty values.
Continuation of FabricMC/tiny-remapper#85

@js6pak
Copy link

js6pak commented Aug 28, 2022

bump

mapping.getOrCreateFieldMapping(field.getName(this.from), field.getDesc(this.from))
.setDeobfuscatedName(field.getName(this.to));
final String fieldNameTo = field.getName(this.to);
final String fieldNameFrom = field.getName(this.from);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe these "from" names can be null too? With custom namespaces they are not necessarily in the mandatory populated NS column.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants