@@ -46,12 +46,12 @@ private static Map<String, CommandWebHook> defaultCommandHooks() {
4646
4747 @ Setting (comment = "The following are event hooks which are all called when the specified event happens. They get passed various data\n " +
4848 "in the body (if method != GET, described below for each event). The format of the hooks is described in the \" all\" \n " +
49- "event hook. This format can be used anywhere marked with \" HOOKS \" .\n " +
49+ "event hook. This format can be used for any of the hook lists .\n " +
5050 "Please note that the hooks don't get called in any particular order, and might even be called concurrently." )
5151 public HookEvents events = new HookEvents ();
5252
5353 @ Setting (comment = "These hooks can be used to bind to custom events. You have to use the fully qualified class name as the key, and then\n " +
54- "a hook list just like for the event hooks above . These hooks work just like the event hooks, although the data\n " +
54+ "a hook list just like for the event hooks. These hooks work just like the event hooks, although the data\n " +
5555 "depends on the event you subscribe to." )
5656 public Map <String , List <WebHook >> custom = new HashMap <>();
5757
@@ -63,7 +63,7 @@ private static Map<String, CommandWebHook> defaultCommandHooks() {
6363
6464 @ ConfigSerializable
6565 public static class HookEvents {
66- @ Setting (comment = "This event is fired for all other events. The \" X-WebAPI-Event\" header specifies the exact event." )
66+ @ Setting (comment = "This event is fired for all events. The \" X-WebAPI-Event\" header specifies the exact event." )
6767 public List <WebHook > all = Lists .newArrayList (new WebHook (
6868 "http://localhost/test" ,
6969 false ,
@@ -78,7 +78,7 @@ public static class HookEvents {
7878 @ Setting (comment = "This event is fired when a player earns an achievement / advancement" )
7979 public List <WebHook > achievement = new ArrayList <>();
8080
81- @ Setting (comment = "This event is fired when a block operations changes status" )
81+ @ Setting (comment = "This event is fired when a block operation changes status" )
8282 public List <WebHook > block_operation_status = new ArrayList <>();
8383
8484 @ Setting (comment = "This event is fired when a chat message is sent on the server" )
0 commit comments