-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Runtime error from mod 'animalia' in callback luaentity_Step(): .../_minetest/.minetest/mods/animalia/api/behaviors.lua:530: bad argument #2 to 'random' (interval is empty) #60
Comments
|
I also get this (Server v5.7.0) |
It appears that LuaJIT tolerates the second argument to math.random() being lower than the first, but plain Lua does not. I'm not familiar enough with this mod to say for sure if "width" is positive here or not, but if it is, perhaps this is why it crashes for some users but not others. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Minetest v5.6.0 server.
The text was updated successfully, but these errors were encountered: