[0.17.25] entity-preview widget doesn't show the entity
Posted: Sat Apr 06, 2019 7:22 pm
The entity-preview widget can be created, but doesn't display anything at all (not even an empty box or anything like that). Example commands to reproduce:
Passing the entity in the parameters when creating the widget doesn't work either (unless the key for that isn't "entity").
Code: Select all
/c ep = game.player.gui.center.add{type = 'entity-preview'}
/c ep.entity = game.player.selected