Archived
0

Fixed resetchatformatting command

This commit is contained in:
Minenash
2019-01-13 23:16:15 -05:00
parent 88427616de
commit c40d8655e2
2 changed files with 8 additions and 6 deletions

View File

@@ -89,8 +89,10 @@ command chatonly {
}
}
command resetchatformating {
run resetformating;
command resetchatformatting {
[empty] {
run reset_formatting;
help Resets the formatting to defaults.;
type console;
}
}

View File

@@ -62,8 +62,8 @@ public class Chat implements Module, Listener {
DataManager.setConfig("%w-default", defaults.get("§7"));
}
@Command(hook = "resetformating")
public void resetFormating(CommandSender sender) {
@Command(hook = "reset_formatting")
public void resetFormatting(CommandSender sender) {
firstLoad();
sender.sendMessage("Chat Formats have been reset to defaults.");
}