1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-12 10:04:40 +02:00

Merge pull request #1219 from grilledham/fix_blueprint_concrete

Fix placing blueprint refined concrete on blue-refined-concrete.
This commit is contained in:
grilledham 2021-06-12 15:04:25 +01:00 committed by GitHub
commit 0373d7252a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -97,12 +97,7 @@ return function(config)
local function built_entity(event)
local entity = event.created_entity
if not entity or not entity.valid or entity.name ~= 'tile-ghost' then
return
end
local item = event.item
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
return
end