mirror of
https://github.com/APercy/automobiles_pck
synced 2025-06-20 23:58:05 +02:00
fix inventory
This commit is contained in:
parent
27c182248c
commit
4752800d79
@ -117,9 +117,11 @@ end
|
||||
function automobiles_lib.show_vehicle_trunk_formspec(self, player, size)
|
||||
if size then
|
||||
local form = get_formspec_by_size(self, size)
|
||||
minetest.show_formspec(player:get_player_name(), automobiles_lib.modname .. ":inventory",
|
||||
form
|
||||
)
|
||||
if form then
|
||||
minetest.show_formspec(player:get_player_name(), automobiles_lib.modname .. ":inventory",
|
||||
form
|
||||
)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user