mirror of
https://github.com/minetest-mods/areas.git
synced 2024-12-26 18:50:41 +01:00
adjust handler registration function name
This commit is contained in:
parent
83dcc44794
commit
812917fca2
4
api.md
4
api.md
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user