mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-11 03:38:28 +00:00
Send discord config in dump even when plugin is disabled
This commit is contained in:
parent
680d3230ea
commit
5723dac6ba
1 changed files with 1 additions and 1 deletions
|
@ -291,7 +291,7 @@ public class Commandessentials extends EssentialsCommand {
|
|||
}
|
||||
}
|
||||
|
||||
if (discord && essDiscord != null && essDiscord.isEnabled()) {
|
||||
if (discord && essDiscord != null) {
|
||||
try {
|
||||
files.add(new PasteUtil.PasteFile("discord-config.yml",
|
||||
new String(Files.readAllBytes(essDiscord.getDataFolder().toPath().resolve("config.yml")), StandardCharsets.UTF_8)
|
||||
|
|
Loading…
Reference in a new issue