adjust handler registration function name

This commit is contained in:
Tai @ Flex 2016-11-28 19:00:01 +08:00
parent 83dcc44794
commit 812917fca2

4
api.md
View File

@ -9,11 +9,11 @@ display your protection's existence.
Registering a handler:
* `areas.register_hud_handler(handler_name) --> nil`
* `areas.registerHudHandler(handler) --> nil`
Handler specification:
* `handler_name(pos,area_list) --> new_area_list`
* `handler(pos,area_list) --> new_area_list`
* `pos` - the position at which to check for protection coverage by your mod
* `area_list` - the current list of protected areas
* `new_area_list` - the list of protected areas, updated with your entries