mirror of
https://github.com/t-affeldt/climate_api.git
synced 2025-07-05 09:50:34 +02:00
Enable more options for particles, fix skybox reset, add new debug command, fix daylight influence
This commit is contained in:
@ -17,7 +17,7 @@ end
|
||||
function api.register_effect(name, handler, htype)
|
||||
-- check for valid handler types
|
||||
if htype ~= "start" and htype ~= "tick" and htype ~= "stop" then
|
||||
minetest.log("warning", "[Climate API] Invalid effect handler type: " .. htype)
|
||||
minetest.log("warning", "[Climate API] Effect " .. dump(name) .. " uses invalid callback type: " .. dump(htype))
|
||||
return
|
||||
end
|
||||
-- create effect handler registry if not existent yet
|
||||
|
Reference in New Issue
Block a user