fix(lib): avoid multiple food checks
This commit is contained in:
parent
33838e5aed
commit
85e1f082a7
@ -61,8 +61,6 @@ function update_listeners()
|
|||||||
message = function()
|
message = function()
|
||||||
info("bot successfully logged in!")
|
info("bot successfully logged in!")
|
||||||
end,
|
end,
|
||||||
},
|
|
||||||
spawn = {
|
|
||||||
eat = function()
|
eat = function()
|
||||||
sleep(5000)
|
sleep(5000)
|
||||||
check_food()
|
check_food()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user