mirror of
				https://github.com/mt-mods/homedecor_modpack.git
				synced 2025-10-31 20:25:25 +01:00 
			
		
		
		
	fix bad player ref (sneder -> clicker)
This commit is contained in:
		| @@ -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) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user