Paste #9Ub -- näytä pelkkänä tekstinä -- uusi tämän pohjalta
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | diff --git a/builtin/builtin.lua b/builtin/builtin.lua index f2811fa..ff9a7c0 100644 --- a/builtin/builtin.lua +++ b/builtin/builtin.lua @@ -23,4 +23,5 @@ dofile(minetest.get_modpath("__builtin").."/chatcommands.lua") dofile(minetest.get_modpath("__builtin").."/static_spawn.lua") dofile(minetest.get_modpath("__builtin").."/detached_inventory.lua") dofile(minetest.get_modpath("__builtin").."/falling.lua") +dofile(minetest.get_modpath("__builtin").."/version.lua") diff --git a/builtin/version.lua b/builtin/version.lua new file mode 100644 index 0000000..033a091 --- /dev/null +++ b/builtin/version.lua @@ -0,0 +1,6 @@ +-- Minetest: builtin/version.lua + +minetest.api_features = { + node_on_rightclick = true, +} + |