From ef215b1b0c72aa49cac3ac3e1d1a32e2e29219b1 Mon Sep 17 00:00:00 2001 From: dordsor21 Date: Mon, 28 Dec 2020 12:31:51 +0000 Subject: [PATCH] fix debugpaste with multiverse --- Bukkit/build.gradle | 2 +- Core/build.gradle | 4 ++-- Core/pom.xml | 2 +- .../main/java/com/plotsquared/core/command/DebugPaste.java | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Bukkit/build.gradle b/Bukkit/build.gradle index 3e4c3578f..8ce94360a 100644 --- a/Bukkit/build.gradle +++ b/Bukkit/build.gradle @@ -99,7 +99,7 @@ shadowJar { include(dependency("org.bstats:bstats-bukkit:1.7")) include(dependency("org.khelekore:prtree:1.7.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("io.papermc.lib", "com.plotsquared.bukkit.paperlib") diff --git a/Core/build.gradle b/Core/build.gradle index eeb918012..4fba36ec6 100644 --- a/Core/build.gradle +++ b/Core/build.gradle @@ -18,7 +18,7 @@ dependencies { implementation("org.jetbrains.kotlin:kotlin-stdlib:1.4.0") implementation("org.jetbrains:annotations:20.1.0") 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 @@ -77,7 +77,7 @@ shadowJar { include(dependency("net.kyori:text-serializer-legacy:3.0.2")) include(dependency("net.kyori:text-serializer-plain:3.0.2")) 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("org.json", "com.plotsquared.json") { diff --git a/Core/pom.xml b/Core/pom.xml index 01259caf8..94bbca45b 100644 --- a/Core/pom.xml +++ b/Core/pom.xml @@ -101,7 +101,7 @@ com.intellectualsites.paster Paster - 1.0.1-SNAPSHOT + 1.0.2-SNAPSHOT runtime diff --git a/Core/src/main/java/com/plotsquared/core/command/DebugPaste.java b/Core/src/main/java/com/plotsquared/core/command/DebugPaste.java index eb6062e4d..ec94095db 100644 --- a/Core/src/main/java/com/plotsquared/core/command/DebugPaste.java +++ b/Core/src/main/java/com/plotsquared/core/command/DebugPaste.java @@ -141,7 +141,7 @@ public class DebugPaste extends SubCommand { try { final File MultiverseWorlds = new File(PlotSquared.get().IMP.getDirectory(), "../Multiverse-Core/worlds.yml"); - incendoPaster.addFile(MultiverseWorlds); + incendoPaster.addFile(MultiverseWorlds, "Multiverse-Core/worlds.yml"); } catch (final IOException ignored) { MainUtil.sendMessage(player, "&cSkipping Multiverse worlds.yml because the plugin is not in use");