fix check
This commit is contained in:
parent
3aa0ac997a
commit
2bc1dc94d5
2
init.lua
2
init.lua
@ -9,7 +9,7 @@ nssm = {
|
|||||||
local mobs_version_required = 20181220
|
local mobs_version_required = 20181220
|
||||||
|
|
||||||
if mobs then
|
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",
|
minetest.log("error",
|
||||||
"Incompatible mobs library (version "..
|
"Incompatible mobs library (version "..
|
||||||
tostring(mobs.version)..
|
tostring(mobs.version)..
|
||||||
|
Loading…
x
Reference in New Issue
Block a user