Skip to content

Commit 0f764bf

Browse files
OgelGamesparamat
authored andcommittedNov 28, 2019
Coral 'on place': Pass node to 'on rightclick', not node name
1 parent 00a8bd5 commit 0f764bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎mods/default/nodes.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -2031,7 +2031,7 @@ local function coral_on_place(itemstack, placer, pointed_thing)
20312031
local def_under = minetest.registered_nodes[node_under.name]
20322032

20332033
if def_under and def_under.on_rightclick and not placer:get_player_control().sneak then
2034-
return def_under.on_rightclick(pos_under, node_under.name,
2034+
return def_under.on_rightclick(pos_under, node_under,
20352035
placer, itemstack, pointed_thing) or itemstack
20362036
end
20372037

0 commit comments

Comments
 (0)