chore(lib): update examples

This commit is contained in:
Ryan 2025-03-10 19:05:55 -04:00
parent 5c052de95d
commit 2b2cf1d069
Signed by: ErrorNoInternet
GPG Key ID: 2486BFB7B1E6A4A3
3 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,6 @@
Server = "localhost"
Username = "ErrorNoWatcher"
HttpAddress = "127.0.0.1:8080"
Owners = { "ErrorNoInternet" }
for _, module in ipairs({

View File

@ -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()

View File

@ -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