mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 11:35:22 +09:00
Merge pull request #238 from Cooldude2606/fix/autofill-amounts
Fixed auto fill amounts not working
This commit is contained in:
@@ -177,7 +177,7 @@ end)
|
|||||||
if not value then value = 0 end
|
if not value then value = 0 end
|
||||||
local clamped = math.clamp(value, 0, 1000)
|
local clamped = math.clamp(value, 0, 1000)
|
||||||
local item_name = element.parent.tooltip
|
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
|
if not autofill_player_settings[player.name] then return end
|
||||||
local setting = autofill_player_settings[player.name][entity_name]
|
local setting = autofill_player_settings[player.name][entity_name]
|
||||||
if not setting then return end
|
if not setting then return end
|
||||||
|
|||||||
Reference in New Issue
Block a user