Removed unnecessary print function

This commit is contained in:
GuyLiner 2023-02-08 13:36:50 -05:00
parent f502621ed7
commit d53c910ae0
1 changed files with 0 additions and 1 deletions

View File

@ -534,7 +534,6 @@ local function spawn_check(pos,spawn_def,ignore_caps)
local gotten_light = get_node_light(pos)
--gotten_light is a table sometimes, causing a crash. Don't know the cause.
print(gotten_light)
if type(gotten_light) ~= "table" then
if gotten_light >= spawn_def.min_light and gotten_light <= spawn_def.max_light then
return true