mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fixed condition
double yat
This commit is contained in:
parent
5d91d94433
commit
74238d0844
1 changed files with 2 additions and 2 deletions
|
|
@ -191,10 +191,10 @@ function check_dependencies(packinfo)
|
|||
end
|
||||
|
||||
local dep_pack = pack.get_info(depid);
|
||||
if depver ~= "*" or depver ~= dep_pack.version then
|
||||
if depver ~= "*" and depver ~= dep_pack.version then
|
||||
return string.format("%s (%s@%s != %s)", gui.str("error.dependency-version-not-met"), depid, dep_pack.version, depver);
|
||||
end
|
||||
|
||||
|
||||
if table.has(packs_installed, packinfo.id) then
|
||||
table.insert(required, depid)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue