From 4b4202b4b7175b3f4deb1880eebd9a8f44363ca5 Mon Sep 17 00:00:00 2001 From: Cooldude2606 <25043174+Cooldude2606@users.noreply.github.com> Date: Sun, 5 Mar 2023 23:27:20 +0000 Subject: [PATCH] Fixed auto fill amounts not working --- modules/gui/autofill.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gui/autofill.lua b/modules/gui/autofill.lua index c27e962b..f4a90ad8 100644 --- a/modules/gui/autofill.lua +++ b/modules/gui/autofill.lua @@ -177,7 +177,7 @@ end) if not value then value = 0 end local clamped = math.clamp(value, 0, 1000) local item_name = element.parent.tooltip - local entity_name = element.parent.parent.parent.parent.name + local entity_name = element.parent.parent.parent.name if not autofill_player_settings[player.name] then return end local setting = autofill_player_settings[player.name][entity_name] if not setting then return end