Skip to content
Snippets Groups Projects
Commit 960f4c42 authored by Vanessa Dannenberg's avatar Vanessa Dannenberg
Browse files

fix bad player ref (sneder -> clicker)

parent 7cdfc3b4
No related branches found
No related tags found
No related merge requests found
......@@ -88,7 +88,7 @@ local brightness_tab = {
function homedecor.toggle_light(pos, node, clicker, itemstack, pointed_thing)
if minetest.is_protected(pos, clicker:get_player_name()) then
minetest.record_protection_violation(pos,
sender:get_player_name())
clicker:get_player_name())
return
end
local sep = string.find(node.name, "_o", -5)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment