Fix on_built_entity in autofill.lua (#9)

This commit is contained in:
2024-11-21 08:44:58 +09:00
committed by GitHub
parent 5a1965b309
commit fcfcc7358f

View File

@@ -308,7 +308,7 @@ local function entity_build(event)
return
end
-- Check if the entity is in the config and enabled
local entity = event.created_entity
local entity = event.entity
-- Check if player has settings
if not autofill_player_settings[player.name] then return end