Remove bad assertion in smartfs._attach_to_node_

master
rubenwardy 2016-11-13 18:33:16 +00:00
parent 62fb1e604c
commit da4ada3781
2 changed files with 1 additions and 2 deletions

View File

@ -1,5 +1,5 @@
dofile(minetest.get_modpath("smartfs").."/smartfs.lua")
dofile(minetest.get_modpath("smartfs").."/docs/example.lua")
-- dofile(minetest.get_modpath("smartfs").."/docs/example.lua")
assert(minetest.is_yes(true) == true)

View File

@ -389,7 +389,6 @@ end
function smartfs._attach_to_node_(form, nodepos, placer)
assert(form)
assert(nodepos and nodepos.x)
assert(placer and placer.get_player_name)
-- No attached user, no params, no inventory integration:
local state = smartfs._makeState_(form, nil, nil, nil, nodepos)