We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 062fc46 commit e27ad58Copy full SHA for e27ad58
mods/bones/init.lua
@@ -6,7 +6,7 @@
6
-- Load support for MT game translation.
7
local S = minetest.get_translator("bones")
8
9
-local bones_max_slots = minetest.settings:get("bones_max_slots") or 15 * 10
+local bones_max_slots = tonumber(minetest.settings:get("bones_max_slots")) or 15 * 10
10
local min_inv_size = 4 * 8 -- display and provide at least this many slots
11
12
bones = {}
0 commit comments