diff --git a/mods/bucket/init.lua b/mods/bucket/init.lua index ff8aa2d6..d3d3151b 100644 --- a/mods/bucket/init.lua +++ b/mods/bucket/init.lua @@ -33,9 +33,9 @@ local function check_protection(pos, name, text) return false end -local function log_action(pos, name, text) +local function log_action(pos, name, action) minetest.log("action", (name ~= "" and name or "A mod") - .. " " .. text .. " at " .. minetest.pos_to_string(pos) .. " with a bucket") + .. " " .. action .. " at " .. minetest.pos_to_string(pos) .. " with a bucket") end -- Register a new liquid