Skip to content

Commit 8356f32

Browse files
authored
Merge pull request #182 from firstdarkdev/1.4-classtweakerfix
Fix AccessWideners not finding targets with ClassTweaker
2 parents 7b89d58 + 7bd9a5a commit 8356f32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mapping/kotlin/xyz/wagyourtail/unimined/internal/mapping/aw/AccessWidenerApplier.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ object AccessWidenerApplier {
9797
logger.debug("Transforming $output with class tweaker $classTweaker and namespace $namespace")
9898
baseMinecraft.forEachInZip { path, stream ->
9999
if (path.endsWith(".class")) {
100-
val target = path.removeSuffix(".class").replace("/", ".")
100+
val target = path.removeSuffix(".class")
101101
if (target in targets) {
102102
try {
103103
logger.debug("Transforming $path")

0 commit comments

Comments
 (0)