fix check

This commit is contained in:
Tai Kedzierski 2019-01-21 02:16:51 +00:00
parent 3aa0ac997a
commit 2bc1dc94d5

View File

@ -9,7 +9,7 @@ nssm = {
local mobs_version_required = 20181220
if mobs then
if not (mobs.version and mobs.version > mobs_version_required) then
if not (mobs.version and tonumber(mobs.version) > mobs_version_required) then
minetest.log("error",
"Incompatible mobs library (version "..
tostring(mobs.version)..