mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-21 06:43:17 -04:00
furnace: Add deprecation warnings.
This commit is contained in:
parent
cdeaaab172
commit
1fa7deda5f
1 changed files with 4 additions and 0 deletions
|
@ -36,10 +36,14 @@ function default.get_furnace_formspec(fuel_percent, item_percent)
|
|||
end
|
||||
|
||||
function default.get_furnace_active_formspec(fuel_percent, item_percent)
|
||||
minetest.log("warning", "default.get_furnace_active_formspec() is " ..
|
||||
"deprecated, use default.get_furnace_formspec() instead.")
|
||||
return default.get_furnace_formspec(fuel_percent, item_percent)
|
||||
end
|
||||
|
||||
function default.get_furnace_inactive_formspec()
|
||||
minetest.log("warning", "default.get_furnace_inactive_formspec() is " ..
|
||||
"deprecated, use default.get_furnace_formspec() instead.")
|
||||
return default.get_furnace_formspec()
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue