Skip to content

Commit 3d98510

Browse files
committed
Merge pull request #2 from cpw/fixskipped
Fix the skipped mapping that can happen, causing incorrect CL_ entrie…
2 parents b373ec7 + 57fa458 commit 3d98510

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/de/oceanlabs/mcp/mcinjector/MCInjectorImpl.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,7 @@ public String getMarker(String cls)
379379
marker = String.format("CL_%08d", this.classIDIndex++);
380380
}
381381
outMappings.put(cls, marker);
382+
mappings.put(cls,marker);
382383
return marker;
383384
}
384385

@@ -692,4 +693,4 @@ public static ClassNode getClassNode(ClassVisitor cv)
692693

693694
}
694695
}
695-
}
696+
}

0 commit comments

Comments
 (0)