diff --git a/game_api.txt b/game_api.txt index 95cb3e74..f27e6c52 100644 --- a/game_api.txt +++ b/game_api.txt @@ -226,7 +226,7 @@ The doors mod allows modders to register custom doors and trapdoors. sound_open = sound play for open door, -- optional sound_close = sound play for close door, -- optional protected = false, -- If true, only placer can open the door (locked for others) - on_rightclick = function(pos, node, clicker, itemstack, pointed_thing), + on_rightclick = function(pos, node, clicker, itemstack, pointed_thing), -- optional function containing the on_rightclick callback, defaults to a doors.door_toggle-wrapper use_texture_alpha = "clip",