Bugfix and new item

This commit is contained in:
Maciej Kasatkin
2012-10-30 00:39:35 +01:00
parent 54d6c27a06
commit 0bd7a87262
3 changed files with 16 additions and 0 deletions

View File

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