mirror of
https://github.com/Refactorio/RedMew.git
synced 2025-01-05 22:53:39 +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:
commit
0373d7252a
@ -97,12 +97,7 @@ return function(config)
|
|||||||
|
|
||||||
local function built_entity(event)
|
local function built_entity(event)
|
||||||
local entity = event.created_entity
|
local entity = event.created_entity
|
||||||
if not entity or not entity.valid or entity.name ~= 'tile-ghost' then
|
if not entity or not entity.valid or entity.name ~= 'tile-ghost' or not brush_tools[entity.ghost_name] then
|
||||||
return
|
|
||||||
end
|
|
||||||
|
|
||||||
local item = event.item
|
|
||||||
if not item or not item.valid or not brush_tools[item.name] then
|
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user