mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-12-23 01:27:40 +01:00
Send discord config in dump even when plugin is disabled
This commit is contained in:
parent
680d3230ea
commit
5723dac6ba
@ -291,7 +291,7 @@ public class Commandessentials extends EssentialsCommand {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (discord && essDiscord != null && essDiscord.isEnabled()) {
|
if (discord && essDiscord != null) {
|
||||||
try {
|
try {
|
||||||
files.add(new PasteUtil.PasteFile("discord-config.yml",
|
files.add(new PasteUtil.PasteFile("discord-config.yml",
|
||||||
new String(Files.readAllBytes(essDiscord.getDataFolder().toPath().resolve("config.yml")), StandardCharsets.UTF_8)
|
new String(Files.readAllBytes(essDiscord.getDataFolder().toPath().resolve("config.yml")), StandardCharsets.UTF_8)
|
||||||
|
Loading…
Reference in New Issue
Block a user