aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcora <coradelamouche@gmx.ch>2023-09-03 01:17:45 +0200
committercora <coradelamouche@gmx.ch>2023-09-03 01:17:45 +0200
commitdcdadaab98173a6a45d23fc6d275c065c13e2d01 (patch)
treeebe0da7eec778a2167d8c732b1bebe431e633ab5
parente2d01755b923048350359b20e31bcab2d9ddada0 (diff)
downloaddragonfireclient-dcdadaab98173a6a45d23fc6d275c065c13e2d01.tar.xz
Document on_receive_particlespawner in client_lua_api.txt
-rw-r--r--doc/client_lua_api.txt4
1 files changed, 4 insertions, 0 deletions
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))`