fix debugpaste with multiverse

This commit is contained in:
dordsor21
2020-12-28 12:31:51 +00:00
parent 2b9a194244
commit ef215b1b0c
4 changed files with 5 additions and 5 deletions

View File

@ -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");