From 82c74c2db5d76baecc75029216862786cf9e8b4f Mon Sep 17 00:00:00 2001 From: Brues <5278969+brues-code@users.noreply.github.com> Date: Fri, 21 Aug 2026 14:59:04 -0500 Subject: [PATCH] Skip declaring pfSellData on turtle client This giant table is just going to be immediately replaced so there's no point in declaring it. --- env/tables.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/env/tables.lua b/env/tables.lua index ea2c264b..3b129c48 100644 --- a/env/tables.lua +++ b/env/tables.lua @@ -63,6 +63,12 @@ for i=1,40 do pfValidUnits["nameplate" .. i .. "target"] = true end + +if TURTLE_WOW_VERSION then -- We already know this table is going to be replaced by turtle-wow.lua, so there's no point in declaring it. + pfSellData = {} -- create empty just incase user has turtle-wow module disabled. + return +end +-- This table makes me sick. -- itemid = buyPrice (copper). Sell price comes from C_Item.GetItemSellPriceByID; -- this table only carries the curated vendor-buy price (which isn't a static -- engine field — it's collected from real vendor encounters).