fix debugpaste with multiverse

This commit is contained in:
dordsor21 2020-12-28 12:30:53 +00:00
parent 3cfbe9585a
commit 1d0721034d
No known key found for this signature in database
GPG Key ID: 1E53E88969FFCF0B
3 changed files with 4 additions and 4 deletions

View File

@ -66,7 +66,7 @@ dependencies {
// Our libraries
implementation("com.intellectualsites.arkitektonika:Arkitektonika-Client:2.0-SNAPSHOT")
implementation("com.intellectualsites.http:HTTP4J:1.1-SNAPSHOT")
implementation("com.intellectualsites.paster:Paster:1.0.1-SNAPSHOT")
implementation("com.intellectualsites.paster:Paster:1.0.2-SNAPSHOT")
// Adventure
implementation("net.kyori:adventure-platform-bukkit:4.0.0-SNAPSHOT")

View File

@ -46,7 +46,7 @@ dependencies {
exclude(group = "com.google.guava")
}
api("com.intellectualsites.arkitektonika:Arkitektonika-Client:2.0-SNAPSHOT")
api("com.intellectualsites.paster:Paster:1.0.1-SNAPSHOT")
api("com.intellectualsites.paster:Paster:1.0.2-SNAPSHOT")
}
tasks.processResources {

View File

@ -148,7 +148,7 @@ public class DebugPaste extends SubCommand {
try {
final File MultiverseWorlds = new File(PlotSquared.platform().getDirectory(),
"../Multiverse-Core/worlds.yml");
incendoPaster.addFile(MultiverseWorlds);
incendoPaster.addFile(MultiverseWorlds, "Multiverse-Core/worlds.yml");
} catch (final IOException ignored) {
player.sendMessage(TranslatableCaption.of("debugpaste.skip_multiverse"),
Template.of("file", "worlds.yml"));
@ -187,4 +187,4 @@ public class DebugPaste extends SubCommand {
});
return true;
}
}
}