diff --git a/errornowatcher.lua b/errornowatcher.lua index 0a8de8a..2416c57 100644 --- a/errornowatcher.lua +++ b/errornowatcher.lua @@ -1,5 +1,6 @@ Server = "localhost" Username = "ErrorNoWatcher" +HttpAddress = "127.0.0.1:8080" Owners = { "ErrorNoInternet" } for _, module in ipairs({ diff --git a/lib/events.lua b/lib/events.lua index fa544ad..3b23b35 100644 --- a/lib/events.lua +++ b/lib/events.lua @@ -1,6 +1,6 @@ Center = { x = 0, y = 64, z = 0 } Radius = 100 -Whitelist = Owners +Whitelist = table.shallow_copy(Owners) Ticks = -1 function check_radius() diff --git a/lib/utils.lua b/lib/utils.lua index 8be29df..6e3d9a4 100644 --- a/lib/utils.lua +++ b/lib/utils.lua @@ -145,7 +145,7 @@ function interact_bed() return end - client:go_to(bed, { type = REACH_BLOCK_POS_GOAL, options = { without_mining = true } }) + client:go_to({ position = bed, radius = 2 }, { type = RADIUS_GOAL, options = { without_mining = true } }) while client.pathfinder.is_calculating or client.pathfinder.is_executing do sleep(500) end