Fix error in function call

This commit is contained in:
OgelGames 2019-11-26 20:50:10 +11:00 committed by GitHub
parent 00a8bd521a
commit d2e051f179
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2031,7 +2031,7 @@ local function coral_on_place(itemstack, placer, pointed_thing)
local def_under = minetest.registered_nodes[node_under.name]
if def_under and def_under.on_rightclick and not placer:get_player_control().sneak then
return def_under.on_rightclick(pos_under, node_under.name,
return def_under.on_rightclick(pos_under, node_under,
placer, itemstack, pointed_thing) or itemstack
end