Pull Advanced start Changes (#4)

This commit is contained in:
2024-11-20 00:14:42 +09:00
committed by Cooldude2606
parent 4118acf91a
commit e92ed6dc26
2 changed files with 9 additions and 32 deletions

View File

@@ -25,14 +25,8 @@ Event.add(defines.events.on_player_created, function(event)
if success and count > 0 then
player.insert{ name = item, count = count }
end
end
end
if config.armor.enable then
player.insert{ name = config.armor.main, count = 1 }
for _, item in pairs(config.armor.item) do
player.insert{ name = item.equipment, count = item.count }
else
player.insert{ name = item, count = callback }
end
end
end)