mirror of
https://github.com/minetest-mods/technic.git
synced 2024-12-25 10:20:37 +01:00
fix
This commit is contained in:
parent
98b2f8dbbf
commit
4f2c97dfa2
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user