mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-25 14:46:45 +01:00
fix debugpaste with multiverse
This commit is contained in:
parent
2b9a194244
commit
ef215b1b0c
@ -99,7 +99,7 @@ shadowJar {
|
|||||||
include(dependency("org.bstats:bstats-bukkit:1.7"))
|
include(dependency("org.bstats:bstats-bukkit:1.7"))
|
||||||
include(dependency("org.khelekore:prtree:1.7.0-SNAPSHOT"))
|
include(dependency("org.khelekore:prtree:1.7.0-SNAPSHOT"))
|
||||||
include(dependency("com.sk89q:squirrelid:1.0.0-SNAPSHOT"))
|
include(dependency("com.sk89q:squirrelid:1.0.0-SNAPSHOT"))
|
||||||
include(dependency("com.intellectualsites.paster:Paster:1.0.1-SNAPSHOT"))
|
include(dependency("com.intellectualsites.paster:Paster:1.0.2-SNAPSHOT"))
|
||||||
}
|
}
|
||||||
relocate('net.kyori.text', 'com.plotsquared.formatting.text')
|
relocate('net.kyori.text', 'com.plotsquared.formatting.text')
|
||||||
relocate("io.papermc.lib", "com.plotsquared.bukkit.paperlib")
|
relocate("io.papermc.lib", "com.plotsquared.bukkit.paperlib")
|
||||||
|
@ -18,7 +18,7 @@ dependencies {
|
|||||||
implementation("org.jetbrains.kotlin:kotlin-stdlib:1.4.0")
|
implementation("org.jetbrains.kotlin:kotlin-stdlib:1.4.0")
|
||||||
implementation("org.jetbrains:annotations:20.1.0")
|
implementation("org.jetbrains:annotations:20.1.0")
|
||||||
implementation("org.khelekore:prtree:1.7.0-SNAPSHOT")
|
implementation("org.khelekore:prtree:1.7.0-SNAPSHOT")
|
||||||
implementation("com.intellectualsites.paster:Paster:1.0.1-SNAPSHOT"){ transitive = false }
|
implementation("com.intellectualsites.paster:Paster:1.0.2-SNAPSHOT"){ transitive = false }
|
||||||
}
|
}
|
||||||
|
|
||||||
sourceCompatibility = 1.8
|
sourceCompatibility = 1.8
|
||||||
@ -77,7 +77,7 @@ shadowJar {
|
|||||||
include(dependency("net.kyori:text-serializer-legacy:3.0.2"))
|
include(dependency("net.kyori:text-serializer-legacy:3.0.2"))
|
||||||
include(dependency("net.kyori:text-serializer-plain:3.0.2"))
|
include(dependency("net.kyori:text-serializer-plain:3.0.2"))
|
||||||
include(dependency("org.khelekore:prtree:1.7.0-SNAPSHOT"))
|
include(dependency("org.khelekore:prtree:1.7.0-SNAPSHOT"))
|
||||||
include(dependency("com.intellectualsites.paster:Paster:1.0.1-SNAPSHOT"))
|
include(dependency("com.intellectualsites.paster:Paster:1.0.2-SNAPSHOT"))
|
||||||
}
|
}
|
||||||
relocate('net.kyori.text', 'com.plotsquared.formatting.text')
|
relocate('net.kyori.text', 'com.plotsquared.formatting.text')
|
||||||
relocate("org.json", "com.plotsquared.json") {
|
relocate("org.json", "com.plotsquared.json") {
|
||||||
|
@ -101,7 +101,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.intellectualsites.paster</groupId>
|
<groupId>com.intellectualsites.paster</groupId>
|
||||||
<artifactId>Paster</artifactId>
|
<artifactId>Paster</artifactId>
|
||||||
<version>1.0.1-SNAPSHOT</version>
|
<version>1.0.2-SNAPSHOT</version>
|
||||||
<scope>runtime</scope>
|
<scope>runtime</scope>
|
||||||
<exclusions>
|
<exclusions>
|
||||||
<exclusion>
|
<exclusion>
|
||||||
|
@ -141,7 +141,7 @@ public class DebugPaste extends SubCommand {
|
|||||||
try {
|
try {
|
||||||
final File MultiverseWorlds = new File(PlotSquared.get().IMP.getDirectory(),
|
final File MultiverseWorlds = new File(PlotSquared.get().IMP.getDirectory(),
|
||||||
"../Multiverse-Core/worlds.yml");
|
"../Multiverse-Core/worlds.yml");
|
||||||
incendoPaster.addFile(MultiverseWorlds);
|
incendoPaster.addFile(MultiverseWorlds, "Multiverse-Core/worlds.yml");
|
||||||
} catch (final IOException ignored) {
|
} catch (final IOException ignored) {
|
||||||
MainUtil.sendMessage(player,
|
MainUtil.sendMessage(player,
|
||||||
"&cSkipping Multiverse worlds.yml because the plugin is not in use");
|
"&cSkipping Multiverse worlds.yml because the plugin is not in use");
|
||||||
|
Loading…
Reference in New Issue
Block a user