From 4f2c97dfa2c9f3d1c13524710dfabde74aae040e Mon Sep 17 00:00:00 2001 From: Maciej Kasatkin Date: Tue, 30 Oct 2012 01:05:52 +0100 Subject: [PATCH] fix --- flashlight.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flashlight.lua b/flashlight.lua index 674b5ac..c9901d1 100644 --- a/flashlight.lua +++ b/flashlight.lua @@ -144,7 +144,7 @@ minetest.register_node("technic:light_off", { }) function check_for_flashlight (player) -if player==nil then return false +if player==nil then return false end local inv = player:get_inventory() local hotbar=inv:get_list("main") for i=1,8,1 do