Steps to reproduce:
1) research connections via pipes
2) place a factory
3) place a pipe (inside) on a some connection spot
4) get outside and place a "pipe to ground" item for this connection
5) rotate this item (pipe to ground) with keyboard shortcut (R)
===
The mod Factorissimo 2 - notnotmelon fork (1.0.1) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event factorissimo-2-notnotmelon::on_player_rotated_entity (ID 21)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
[C]: in function 'index'
__factorissimo-2-notnotmelon/control.lua:1251: in function <factorissimo-2-notnotmelon/control.lua:1245>