keryja / factorio-fast-filter-fill

A Factorio mod for quickly setting cargo wagon filters (Original by SeaRyanC, Continued by Keryja)
https://mods.factorio.com/mods/Keryja/fast-filter-fill
MIT License
1 stars 1 forks source link

Crash on blueprint fill and curved rail #4

Closed StephanSteinert closed 6 years ago

StephanSteinert commented 6 years ago

2168.108 Error MainLoop.cpp:1016: Exception at tick 223194: Error while running event fast-filter-fill::on_gui_click (ID 1) Unknown item name: curved-rail stack traceback: fast-filter-fill/control.lua:275: in function 'handler' fast-filter-fill/control.lua:23: in function <fast-filter-fill/control.lua:20>

Curved rail consists of 4 straight rails. But do we need to add a hardcoded workaround for this item or can we receive some information from the entity?

Edit: http://lua-api.factorio.com/latest/LuaEntityPrototype.html#LuaEntityPrototype.items_to_place_this should work.

keryja commented 6 years ago

Fixed in 0.6.6, thanks for reporting!