forked from VoxeLibre/VoxeLibre
Removed unnecessary print function
This commit is contained in:
parent
f502621ed7
commit
d53c910ae0
|
@ -534,7 +534,6 @@ local function spawn_check(pos,spawn_def,ignore_caps)
|
||||||
local gotten_light = get_node_light(pos)
|
local gotten_light = get_node_light(pos)
|
||||||
|
|
||||||
--gotten_light is a table sometimes, causing a crash. Don't know the cause.
|
--gotten_light is a table sometimes, causing a crash. Don't know the cause.
|
||||||
print(gotten_light)
|
|
||||||
if type(gotten_light) ~= "table" then
|
if type(gotten_light) ~= "table" then
|
||||||
if gotten_light >= spawn_def.min_light and gotten_light <= spawn_def.max_light then
|
if gotten_light >= spawn_def.min_light and gotten_light <= spawn_def.max_light then
|
||||||
return true
|
return true
|
||||||
|
|
Loading…
Reference in New Issue