Skip to content

Commit ba34130

Browse files
authored
Send discord config in dump even when plugin is disabled
1 parent a842a20 commit ba34130

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Essentials/src/main/java/com/earth2me/essentials/commands/Commandessentials.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ private void runDump(Server server, CommandSource sender, String commandLabel, S
291291
}
292292
}
293293

294-
if (discord && essDiscord != null && essDiscord.isEnabled()) {
294+
if (discord && essDiscord != null) {
295295
try {
296296
files.add(new PasteUtil.PasteFile("discord-config.yml",
297297
new String(Files.readAllBytes(essDiscord.getDataFolder().toPath().resolve("config.yml")), StandardCharsets.UTF_8)

0 commit comments

Comments
 (0)