diff --git a/water_splash.lua b/water_splash.lua index 3972b2e..294f178 100644 --- a/water_splash.lua +++ b/water_splash.lua @@ -14,7 +14,7 @@ local function water_particle(pos, accell) if airutils.splash_texture == nil then return end if airutils.splash_texture == "" then return end - minetest.add_particle({ + core.add_particle({ pos = pos, velocity = {x = 0, y = 0, z = 0}, acceleration = accell, --{x = 0, y = 0, z = 0},