Fixed resetchatformatting command
This commit is contained in:
@@ -89,8 +89,10 @@ command chatonly {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
command resetchatformating {
|
command resetchatformatting {
|
||||||
run resetformating;
|
[empty] {
|
||||||
help Resets the formatting to defaults.;
|
run reset_formatting;
|
||||||
type console;
|
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"));
|
DataManager.setConfig("%w-default", defaults.get("§7"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Command(hook = "resetformating")
|
@Command(hook = "reset_formatting")
|
||||||
public void resetFormating(CommandSender sender) {
|
public void resetFormatting(CommandSender sender) {
|
||||||
firstLoad();
|
firstLoad();
|
||||||
sender.sendMessage("Chat Formats have been reset to defaults.");
|
sender.sendMessage("Chat Formats have been reset to defaults.");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user