add particles.stop(...)

This commit is contained in:
MihailRis
2024-11-04 14:55:35 +03:00
parent 0cd5136fdb
commit 3ecb7b447f
4 changed files with 16 additions and 10 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
function on_block_broken(id, x, y, z, playerid)
particles.emit({x+0.5, y+0.5, z+0.5}, 100, {
lifetime=2.0,
particles.emit({x+0.5, y+0.5, z+0.5}, 64, {
lifetime=1.0,
spawn_interval=0.0001,
explosion={4, 4, 4},
texture="blocks:"..block.get_textures(id)[1],