We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0692b9b + 02f9436 commit 0373d72Copy full SHA for 0373d72
map_gen/maps/danger_ores/modules/concrete_on_landfill.lua
@@ -97,12 +97,7 @@ return function(config)
97
98
local function built_entity(event)
99
local entity = event.created_entity
100
- if not entity or not entity.valid or entity.name ~= 'tile-ghost' then
101
- return
102
- end
103
-
104
- local item = event.item
105
- if not item or not item.valid or not brush_tools[item.name] then
+ if not entity or not entity.valid or entity.name ~= 'tile-ghost' or not brush_tools[entity.ghost_name] then
106
return
107
end
108
0 commit comments