generated from your-land/yl_template
Removes debug statements
This commit is contained in:
parent
205f352d7b
commit
3b7a4242dc
@ -217,5 +217,4 @@ yl_canned_food_mtg.default_recipes = {
|
||||
}
|
||||
|
||||
local content = minetest.write_json(yl_canned_food_mtg.default_recipes)
|
||||
core.log("action","meow")
|
||||
minetest.safe_file_write(yl_canned_food_mtg.worldpath .. "yl_canned_food_mtg.json", content)
|
||||
@ -63,9 +63,7 @@ end
|
||||
local function get_data()
|
||||
|
||||
local filename = yl_canned_food_mtg.settings.save_path
|
||||
|
||||
local filepath = yl_canned_food_mtg.get_filepath(filename)
|
||||
core.log("action","MEOW=".. dump(filepath))
|
||||
yl_canned_food_mtg.json_recipes = yl_canned_food_mtg.load(filepath) or {}
|
||||
|
||||
return yl_canned_food_mtg.legacy_recipes or yl_canned_food_mtg.default_recipes or yl_canned_food_mtg.json_recipes
|
||||
@ -79,8 +77,6 @@ end
|
||||
--
|
||||
|
||||
local function check_settings_match()
|
||||
core.log("action","yl_canned_food.legacy=".. dump(yl_canned_food.legacy))
|
||||
core.log("action","yl_canned_food_mtg.settings.data_source=".. dump(yl_canned_food_mtg.settings.data_source))
|
||||
if (yl_canned_food.settings.legacy == true) and (yl_canned_food_mtg.settings.data_source == "legacy") then
|
||||
-- legacy: Nodenames looke like canned_food:apple_jam
|
||||
return true
|
||||
|
||||
Loading…
Reference in New Issue
Block a user