generated from your-land/yl_template
Renames function to get_valid_copy_of_stage
This commit is contained in:
parent
d343938b09
commit
fa99068a60
10
internal.lua
10
internal.lua
@ -136,7 +136,7 @@ function yl_api_nodestages.on_timer(pos, elapsed) return on_timer(pos, elapsed)
|
||||
-- Validation
|
||||
--
|
||||
|
||||
function get_copy_of_valid_stage(stage)
|
||||
function get_valid_copy_of_stage(stage)
|
||||
if (type(stage) ~= "table") then
|
||||
return false, t("stage_not_table")
|
||||
end
|
||||
@ -160,14 +160,12 @@ function get_copy_of_valid_stage(stage)
|
||||
|
||||
end
|
||||
|
||||
function yl_api_nodestages.get_copy_of_valid_stage(stage)
|
||||
return get_copy_of_valid_stage(stage)
|
||||
function yl_api_nodestages.get_valid_copy_of_stage(stage)
|
||||
return get_valid_copy_of_stage(stage)
|
||||
end
|
||||
|
||||
local function is_valid_stage(stage)
|
||||
|
||||
|
||||
|
||||
return true -- TODO: Implement validation
|
||||
end
|
||||
|
||||
function yl_api_nodestages.is_valid(stages)
|
||||
|
Loading…
Reference in New Issue
Block a user