aboutsummaryrefslogtreecommitdiff
path: root/lib/lua/src/ldo.c
diff options
context:
space:
mode:
local functiontest_clear_craft() minetest.l
minetest-cdedaac5e299f71df72c2eb49ec52506467af831.tar.bz2
minetest-cdedaac5e299f71df72c2eb49ec52506467af831.zip
authorLars Hofhansl <larsh@apache.org>2017-10-19 09:46:30 -0700
committerLars Hofhansl <larsh@apache.org>2017-10-19 09:47:58 -0700
commitcdedaac5e299f71df72c2eb49ec52506467af831 (patch)
treec2c49aa01000ad07028376e9f18c9ad6447ebf13 /lib/lua/src/ldo.c
parentf36e32317502ef455c5c2e0d10b8c06519188300 (diff)
download
Set range of blocks to retrieve per roundtrip to 2.
This is a small, partial revert of #6483, which had set this to 1.
Diffstat (limited to 'lib/lua/src/ldo.c')
0 files changed, 0 insertions, 0 deletions
l opt">(#minetest.get_all_craft_recipes("foo") == 2) minetest.clear_craft({output="foo"}) assert(minetest.get_all_craft_recipes("foo") == nil) -- Clearing by input minetest.register_craft({ output = "foo 4", recipe = {{"foo", "bar"}} }) assert(#minetest.get_all_craft_recipes("foo") == 1) minetest.clear_craft({recipe={{"foo", "bar"}}}) assert(minetest.get_all_craft_recipes("foo") == nil) end test_clear_craft()