From dcdadaab98173a6a45d23fc6d275c065c13e2d01 Mon Sep 17 00:00:00 2001 From: cora Date: Sun, 3 Sep 2023 01:17:45 +0200 Subject: Document on_receive_particlespawner in client_lua_api.txt --- doc/client_lua_api.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc') diff --git a/doc/client_lua_api.txt b/doc/client_lua_api.txt index afdd2f319..1b279876c 100644 --- a/doc/client_lua_api.txt +++ b/doc/client_lua_api.txt @@ -774,6 +774,10 @@ Call these functions only at load time! * Called when recieving a spawn particle command from server * Newest functions are called first * If any function returns true, the particle does not spawn +* `minetest.register_on_receive_particlespawner(function(particleSpawner parameters))` + * Called when recieving a particlespawner from the server + * Newest functions are called first + * If any function returns true, the particlespawner will not be created on the client * `minetest.register_on_object_add(function(obj))` * Called every time an object is added * `minetest.register_on_object_properties_change(function(obj))` -- cgit v1.2.3