Remove bad assertion in smartfs._attach_to_node_
This commit is contained in:
parent
62fb1e604c
commit
da4ada3781
2
init.lua
2
init.lua
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user