paperweight icon indicating copy to clipboard operation
paperweight copied to clipboard

Shading reobf artifacts into userdev project jar results in issues from double remapping

Open DaRacci opened this issue 2 years ago • 1 comments

When using the commandAPI shade dep the reobfJar task changes the class import of ResourceManager to IResourceManager. The source of the class: https://github.com/JorelAli/CommandAPI/blob/master/CommandAPI/commandapi-1.18.2/src/main/java/dev/jorel/commandapi/nms/NMS_1_18_R2.java I believe this might have something to do with that plugin being complied with the spigot nms maps.

See the two attached classes for the non reobf and then the broken reobf. https://drive.google.com/drive/folders/1ev7YNMG7I1vG3IqkmI2iZEmTWtivNVpu?usp=sharing

DaRacci avatar Apr 15 '22 12:04 DaRacci