Skip to content

Commit 90749be

Browse files
committed
Fix adventure relocate on velocity
1 parent 90f0a4d commit 90749be

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

bukkit/src/main/kotlin/io/github/rothes/esu/bukkit/EsuPluginBukkit.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ class EsuPluginBukkit(
9999
)
100100
) { file, artifact ->
101101
if (artifact.groupId == "net.kyori")
102-
CachedRelocator.relocate(relocator, file, "2")
102+
CachedRelocator.relocate(relocator, file, "3")
103103
else
104104
file
105105
}

velocity/src/main/kotlin/io/github/rothes/esu/velocity/EsuPluginVelocity.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ class EsuPluginVelocity(
8989
)
9090
)
9191
val relocator = PackageRelocator(
92-
"net/kyori/adventure/" to "io/github/rothes/esu/lib/net/kyori/adventure/",
92+
"net/kyori/adventure/" to "io/github/rothes/esu/lib/adventure/",
9393
"net/kyori/" to "io/github/rothes/esu/lib/net/kyori/"
9494
)
9595
MavenResolver.loadDependencies(
@@ -103,7 +103,7 @@ class EsuPluginVelocity(
103103
)
104104
) { file, artifact ->
105105
if (artifact.groupId == "net.kyori")
106-
CachedRelocator.relocate(relocator, file, "2")
106+
CachedRelocator.relocate(relocator, file, "3")
107107
else
108108
file
109109
}

0 commit comments

Comments
 (0)