This commit is contained in:
2026-06-20 01:57:08 +09:00
parent e149f7f3c6
commit 0633b78b61
+1 -3
View File
@@ -158,8 +158,7 @@ function main_entity(source, tier)
if (source.name == 'mining-drill' or source.name == 'big-mining-drill') then
for _, e in pairs({'graphics_set', 'wet_mining_graphics_set'}) do
if item[e] then
if item[e]['animation'] then
if item[e] and item[e]['animation'] then
for _, d in pairs(item[e]['animation']) do
if d.layers then
for _, l in pairs(d.layers) do
@@ -172,7 +171,6 @@ function main_entity(source, tier)
end
end
end
end
elseif (source.name == 'pumpjack') then
if item['graphics_set'] and item['graphics_set']['animation'] then