summaryrefslogtreecommitdiff
path: root/flashlight.lua
diff options
context:
space:
mode:
Diffstat (limited to 'flashlight.lua')
-rw-r--r--flashlight.lua2
1 files changed, 1 insertions, 1 deletions
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