mirror of
https://github.com/minetest-mods/technic.git
synced 2025-07-27 04:30:18 +02:00
fix
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user