Fix again
This commit is contained in:
parent
8525633d4c
commit
56cb236025
|
@ -40,7 +40,7 @@ local function cache_groups(group, groups)
|
|||
local texture = def.inventory_image or def.wield_image
|
||||
|
||||
if true_str(texture) then
|
||||
texture = texture .. "\\^[resize\\:150x150"
|
||||
texture = texture:gsub("%^", "\\^"):gsub(":", "\\:") .. "\\^[resize\\:150x150"
|
||||
elseif is_cube(def.drawtype) then
|
||||
texture = get_cube(def.tiles)
|
||||
end
|
||||
|
|
|
@ -271,6 +271,8 @@ local function groups_to_items(groups)
|
|||
end
|
||||
end
|
||||
|
||||
sort(names)
|
||||
|
||||
return names
|
||||
end
|
||||
|
||||
|
|
Ŝarĝante…
Reference in New Issue