Called after the duplicator library pastes the entity, after the bone/entity modifiers have been applied to the entity.
The player who pasted the entity.
This may not be a valid player in some circumstances. For example, when a save is loaded from the main menu, this hook will be called before the player is spawned. This argument will be a NULL entity in that case.
This will be nil for invalid players.
Pull Request: #1408
All entities that are within the placed dupe.
The keys of each value in this table are the original entity indexes when the duplication was created. This can be utilized to restore entity references that don't get saved in duplications.