From 0ccb805777751e7814f1288b2363618e5f9d5970 Mon Sep 17 00:00:00 2001 From: brulijam Date: Thu, 6 Jun 2024 23:36:09 +0200 Subject: [PATCH] a --- src/brulijam/gps-tower.lua | 1 + src/brulijam/turtle-miner-fibo.lua | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/brulijam/gps-tower.lua b/src/brulijam/gps-tower.lua index 1e102d8..af55860 100644 --- a/src/brulijam/gps-tower.lua +++ b/src/brulijam/gps-tower.lua @@ -1,5 +1,6 @@ -- https://tweaked.cc/guide/gps_setup.html -- Seems to not work with optifine +-- put shell.run("/brulijam/gps-tower.lua") in brulijam/task.lua basic = require("lib.basic") diff --git a/src/brulijam/turtle-miner-fibo.lua b/src/brulijam/turtle-miner-fibo.lua index 59a41ad..9a03545 100644 --- a/src/brulijam/turtle-miner-fibo.lua +++ b/src/brulijam/turtle-miner-fibo.lua @@ -76,7 +76,7 @@ local function savePositionToFile() if itemDetail ~= nil then if itemDetail.name == "computercraft:wireless_modem_advanced" then turtle.equipRight() - posX, posY, posZ = gps.locate() + posZ, posY, posX = gps.locate() sleep(1) basic.appendToFileNl("/brulijam/files/chests-turtle-miner-fibo.txt", "Chest at: " .. posX .. ", " .. posY .. ", " .. posZ) networking.sendLog("all", "/brulijam/logs/chests-to-collect.txt", posX .. ", " .. posY .. ", " .. posZ)