mirror of
https://github.com/APercy/automobiles_pck
synced 2025-09-10 05:56:22 +02:00
fix 0 lenght inventory and added new icon for the motorcycle wheel
This commit is contained in:
parent
4d6ef290e3
commit
27c182248c
@ -115,10 +115,12 @@ end
|
||||
|
||||
--show inventory form to user
|
||||
function automobiles_lib.show_vehicle_trunk_formspec(self, player, size)
|
||||
local form = get_formspec_by_size(self, size)
|
||||
minetest.show_formspec(player:get_player_name(), automobiles_lib.modname .. ":inventory",
|
||||
form
|
||||
)
|
||||
if size then
|
||||
local form = get_formspec_by_size(self, size)
|
||||
minetest.show_formspec(player:get_player_name(), automobiles_lib.modname .. ":inventory",
|
||||
form
|
||||
)
|
||||
end
|
||||
end
|
||||
|
||||
function automobiles_lib.create_inventory(self, size, owner)
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 23 KiB |
Loading…
Reference in New Issue
Block a user