Fixed resetchatformatting command
This commit is contained in:
@@ -89,8 +89,10 @@ command chatonly {
|
||||
}
|
||||
}
|
||||
|
||||
command resetchatformating {
|
||||
run resetformating;
|
||||
help Resets the formatting to defaults.;
|
||||
type console;
|
||||
command resetchatformatting {
|
||||
[empty] {
|
||||
run reset_formatting;
|
||||
help Resets the formatting to defaults.;
|
||||
type console;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user