Page 1 of 1

LuaEntity.neighbours for ghost underground belts

Posted: Thu Nov 03, 2022 6:24 pm
by _CodeGreen
I'm working on a new mode for Belt Visualizer where it will highlight through ghost entities in addition to normal entities.
One of the properties used in the mod is LuaEntity.neighbours for underground belt connections, and that works fine for non-ghost belts.
However, it cannot be used on ghost underground belts, which is unfortunate for me :‎P
If there is a reason for .neighbours not to work with ghost undergrounds, I can work around it, but it would be very clunky.