diff --git a/eid_tmtrainer.lua b/eid_tmtrainer.lua index 74607da9..3aa93111 100644 --- a/eid_tmtrainer.lua +++ b/eid_tmtrainer.lua @@ -113,6 +113,7 @@ local function CheckLogForItems(_) local eidDesc = "" local theLog = io.open(logLocation, "r") + if theLog == nil then return end theLog:seek("set", logCursor) local line = theLog:read()