This commit is contained in:
Maciej Kasatkin 2012-10-30 01:05:52 +01:00
parent 98b2f8dbbf
commit 4f2c97dfa2

View File

@ -144,7 +144,7 @@ minetest.register_node("technic:light_off", {
}) })
function check_for_flashlight (player) function check_for_flashlight (player)
if player==nil then return false if player==nil then return false end
local inv = player:get_inventory() local inv = player:get_inventory()
local hotbar=inv:get_list("main") local hotbar=inv:get_list("main")
for i=1,8,1 do for i=1,8,1 do