Skip to content

Instantly share code, notes, and snippets.

@rubenwardy

rubenwardy/mtversion.lua Secret

Last active Dec 3, 2018
Embed
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