mirror of
https://github.com/APercy/airutils.git
synced 2025-05-30 23:06:34 -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 airutils.get_itemslot_bg(a, b, c, d)
|
||||
if mcl_formspec then
|
||||
return mcl_formspec.get_itemslot_bg(a,b,c,d)
|
||||
if airutils.is_mcl then
|
||||
if mcl_formspec then
|
||||
return mcl_formspec.get_itemslot_bg(a,b,c,d)
|
||||
end
|
||||
end
|
||||
return ""
|
||||
end
|
||||
|
|
2
mod.conf
2
mod.conf
|
@ -2,4 +2,4 @@ name = airutils
|
|||
title=AirUtils
|
||||
description=A lib for airplanes and some useful tools
|
||||
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