Config command show properties and values that were updated.

This commit is contained in:
benwoo1110 2020-12-26 18:03:07 +08:00
parent 31494e2876
commit 17d5313981

View File

@ -76,8 +76,8 @@ public class ConfigCommand extends MultiverseCommand {
this.plugin.getMVWorldManager().setFirstSpawnWorld(value);
}
//TODO ACF: Show properties and values that where updated.
sender.sendMessage(ChatColor.GREEN + "SUCCESS!" + ChatColor.WHITE + " Values were updated successfully!");
sender.sendMessage(ChatColor.GREEN + "Success! " + ChatColor.WHITE + "Config option " + ChatColor.AQUA
+ property + ChatColor.WHITE + " is now set to " + ChatColor.GREEN + value + ChatColor.WHITE + ".");
this.plugin.loadConfigs();
}
}