mirror of
https://github.com/minetest-mods/areas.git
synced 2025-01-30 19:50:26 +01:00
adjusted handler registration name
This commit is contained in:
parent
e4ac30b7ff
commit
6708c966ca
2
api.lua
2
api.lua
@ -1,6 +1,6 @@
|
|||||||
local protection_detectors = {}
|
local protection_detectors = {}
|
||||||
|
|
||||||
areas.register_protector_detector = function(handler)
|
areas.register_hud_handler = function(handler)
|
||||||
protection_detectors[#protection_detectors+1] = handler
|
protection_detectors[#protection_detectors+1] = handler
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user