Fix bugs in libevent

This commit is contained in:
Kirigaya Kazuto 2018-11-20 14:43:26 +08:00
parent f1a816f9bf
commit f9e006d53a
2 changed files with 5 additions and 1 deletions

View File

@ -211,7 +211,7 @@ local need_refresh=true
while true do
if(need_refresh) then
display(result,tb_display,begin_at,item_filter)
display(result,tb_display,craft_table,begin_at,item_filter)
need_refresh=false
end

View File

@ -223,8 +223,12 @@ local function doInternalEventInit()
end
local function TranslateEvent(raw_event)
if(raw_event==nil) then return nil end
local t={}
local name=raw_event[1]
if(name==nil) then return nil end
t["event"]=name
-- Standard Events