From 722dae30e76d63b843fe7bf0f537f2e4553e2a0e Mon Sep 17 00:00:00 2001 From: Emerson Rosen-Jones Date: Thu, 1 Jan 2026 14:40:21 -0500 Subject: [PATCH] fix: remove oil order crash requestCount is not allowed to be zero. This commit returns early if the amount needed is less than 100. --- biofuel-manager.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/biofuel-manager.lua b/biofuel-manager.lua index 1b90311..34aa9dd 100644 --- a/biofuel-manager.lua +++ b/biofuel-manager.lua @@ -21,6 +21,7 @@ local BIOFUEL_PKG = "Biofuel" local order = { oil = function (amt, ticker) local orderCount = math.floor(amt / 100) + if orderCount < 1 then return end local request = { tags = { ["c:seeds"] = true,