geforkt von Mirrors/Paper
Relocate other libraries Spigot added and relocates in 1.17
Dieser Commit ist enthalten in:
Ursprung
c7a0195cdd
Commit
3dc0a3fafc
@ -63,9 +63,9 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
listOf(
|
listOf(
|
||||||
- "jline", "it.unimi", "org.apache.commons.codec", "org.apache.commons.io",
|
- "jline", "it.unimi", "org.apache.commons.codec", "org.apache.commons.io",
|
||||||
+ "jline", "org.apache.commons.codec", "org.apache.commons.io", // Paper - don't relocate fastutil
|
+ "jline", "org.apache.commons.codec", "org.apache.commons.io", // Paper - don't relocate fastutil
|
||||||
"org.apache.commons.lang3", "org.objectweb.asm"
|
"org.apache.commons.lang3", "org.apache.http", "org.apache.maven", "org.codehaus.plexus",
|
||||||
|
"org.eclipse.aether", "org.eclipse.sisu", "org.objectweb.asm"
|
||||||
).forEach { pack ->
|
).forEach { pack ->
|
||||||
relocate(pack, "org.bukkit.craftbukkit.libs.$pack")
|
|
||||||
diff --git a/src/main/java/org/bukkit/craftbukkit/Main.java b/src/main/java/org/bukkit/craftbukkit/Main.java
|
diff --git a/src/main/java/org/bukkit/craftbukkit/Main.java b/src/main/java/org/bukkit/craftbukkit/Main.java
|
||||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||||
--- a/src/main/java/org/bukkit/craftbukkit/Main.java
|
--- a/src/main/java/org/bukkit/craftbukkit/Main.java
|
||||||
|
@ -103,7 +103,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
+
|
+
|
||||||
+ listOf(
|
+ listOf(
|
||||||
+ "jline", "it.unimi", "org.apache.commons.codec", "org.apache.commons.io",
|
+ "jline", "it.unimi", "org.apache.commons.codec", "org.apache.commons.io",
|
||||||
+ "org.apache.commons.lang3", "org.objectweb.asm"
|
+ "org.apache.commons.lang3", "org.apache.http", "org.apache.maven", "org.codehaus.plexus",
|
||||||
|
+ "org.eclipse.aether", "org.eclipse.sisu", "org.objectweb.asm"
|
||||||
+ ).forEach { pack ->
|
+ ).forEach { pack ->
|
||||||
+ relocate(pack, "org.bukkit.craftbukkit.libs.$pack")
|
+ relocate(pack, "org.bukkit.craftbukkit.libs.$pack")
|
||||||
+ }
|
+ }
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren