From: Maciej Kasatkin Date: Tue, 30 Oct 2012 00:05:52 +0000 (+0100) Subject: fix X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=4f2c97dfa2c9f3d1c13524710dfabde74aae040e;p=zefram%2Fminetest%2Ftechnic.git fix --- 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