Skip to content

Instantly share code, notes, and snippets.

@rubenwardy
Last active December 3, 2018 21:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rubenwardy/9864071eedc3b5fb2224937005de48c4 to your computer and use it in GitHub Desktop.
Save rubenwardy/9864071eedc3b5fb2224937005de48c4 to your computer and use it in GitHub Desktop.
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