mirror of
https://github.com/YouHaveTrouble/CommandWhitelist.git
synced 2026-05-11 22:16:57 +00:00
don't replace config. whops
This commit is contained in:
+1
-1
@@ -66,7 +66,7 @@ public class BukkitCommandExecutor implements TabExecutor {
|
||||
return true;
|
||||
}
|
||||
audiences.sender(sender).sendMessage(Component.text("Dumping all available commands to a file..."));
|
||||
if (CommandUtil.dumpAllBukkitCommands(CommandWhitelistBukkit.getServerCommands(), new File("plugins/CommandWhitelist/config.yml"))) {
|
||||
if (CommandUtil.dumpAllBukkitCommands(CommandWhitelistBukkit.getServerCommands(), new File("plugins/CommandWhitelist/command_dump.yml"))) {
|
||||
audiences.sender(sender).sendMessage(Component.text("Commands dumped to command_dump.yml"));
|
||||
} else {
|
||||
audiences.sender(sender).sendMessage(Component.text("Failed to save the file."));
|
||||
|
||||
+1
-1
@@ -75,7 +75,7 @@ public class BungeeMainCommand extends Command implements TabExecutor {
|
||||
return;
|
||||
}
|
||||
audiences.sender(sender).sendMessage(Component.text("Dumping all available commands to a file..."));
|
||||
if (CommandUtil.dumpAllBukkitCommands(CommandWhitelistWaterfall.getServerCommands(), new File("plugins/CommandWhitelist/config.yml"))) {
|
||||
if (CommandUtil.dumpAllBukkitCommands(CommandWhitelistWaterfall.getServerCommands(), new File("plugins/CommandWhitelist/command_dump.yml"))) {
|
||||
audiences.sender(sender).sendMessage(Component.text("Commands dumped to command_dump.yml"));
|
||||
} else {
|
||||
audiences.sender(sender).sendMessage(Component.text("Failed to save the file."));
|
||||
|
||||
Reference in New Issue
Block a user