Skip to content

Instantly share code, notes, and snippets.


rubenwardy/mtversion.lua Secret

Last active Dec 3, 2018
What would you like to do?
local mtver = minetest.get_version()
local maxslots = (mtver.string:sub(1, 4) ~= "0.4.") and 32 or 23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment