chore(lib): update examples

This commit is contained in:
Ryan 2025-03-10 19:05:55 -04:00
parent f121addc40
commit 2bc1e85f94
3 changed files with 3 additions and 2 deletions

View File

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

View File

@ -1,6 +1,6 @@
Center = { x = 0, y = 64, z = 0 } Center = { x = 0, y = 64, z = 0 }
Radius = 100 Radius = 100
Whitelist = Owners Whitelist = table.shallow_copy(Owners)
Ticks = -1 Ticks = -1
function check_radius() function check_radius()

View File

@ -145,7 +145,7 @@ function interact_bed()
return return
end 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 while client.pathfinder.is_calculating or client.pathfinder.is_executing do
sleep(500) sleep(500)
end end