mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-25 22:56:45 +01:00
Improve world generator diagnosis
This commit is contained in:
parent
becac84e6e
commit
267bebd0e8
@ -115,6 +115,15 @@ import java.util.stream.Collectors;
|
||||
"&cSkipping PlotSquared.use_THIS.yml because it's empty");
|
||||
}
|
||||
|
||||
try {
|
||||
final File MultiverseWorlds =
|
||||
new File(PlotSquared.get().IMP.getDirectory(), "../../plugins/Multiverse-Core/worlds.yml");
|
||||
incendoPaster
|
||||
.addFile(new IncendoPaster.PasteFile("MultiverseCore/worlds.yml", readFile(MultiverseWorlds)));
|
||||
} catch (final IOException ignored) {
|
||||
MainUtil.sendMessage(player, "&cSkipping Multiverse worlds.yml because the plugin is not in use");
|
||||
}
|
||||
|
||||
try {
|
||||
final String rawResponse = incendoPaster.upload();
|
||||
final JsonObject jsonObject =
|
||||
|
Loading…
Reference in New Issue
Block a user