Entity scores are wiped when going through a portal
Summary:
Sending an non-player entity across dimensions wipes their scores on the scoreboard.
Verification Build:
1.21.2
Regression Builds:
N/A
Impact:
This is pretty important to be able to link entities to players between dimensions
Repro Steps:
1. Create portal
2. Spawn wolf
3. Create scoreboard objective
4. Put scoreboard on display
5. Give wolf score
6. Push wolf through portal
7. Enter portal and watch sidebar
Observed Results:
The score is wiped
Expected Results:
The score should remain on the entity
Video demo:
https://www.youtube.com/watch?v=y8ILxF171zM