mirror of
https://github.com/APercy/airutils.git
synced 2025-06-01 15:50:10 -04:00
improvements
This commit is contained in:
parent
18338a333b
commit
7db055d8ab
2 changed files with 5 additions and 3 deletions
|
@ -3,8 +3,10 @@ airutils.modname = core.get_current_modname()
|
||||||
|
|
||||||
--function to format formspec for mineclone. In case of minetest, just returns an empty string
|
--function to format formspec for mineclone. In case of minetest, just returns an empty string
|
||||||
function airutils.get_itemslot_bg(a, b, c, d)
|
function airutils.get_itemslot_bg(a, b, c, d)
|
||||||
if mcl_formspec then
|
if airutils.is_mcl then
|
||||||
return mcl_formspec.get_itemslot_bg(a,b,c,d)
|
if mcl_formspec then
|
||||||
|
return mcl_formspec.get_itemslot_bg(a,b,c,d)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
return ""
|
return ""
|
||||||
end
|
end
|
||||||
|
|
2
mod.conf
2
mod.conf
|
@ -2,4 +2,4 @@ name = airutils
|
||||||
title=AirUtils
|
title=AirUtils
|
||||||
description=A lib for airplanes and some useful tools
|
description=A lib for airplanes and some useful tools
|
||||||
author=apercy
|
author=apercy
|
||||||
optional_depends=player_api, emote, climate_api, biofuel, signs_lib, skinsdb
|
optional_depends=player_api, mcl_formspec, mcl_player, emote, climate_api, biofuel, signs_lib, skinsdb
|
||||||
|
|
Loading…
Add table
Reference in a new issue