Fix entityMetadata reads

Seems to have been broken at some point. This pull request fixes it.
Potential fix to team scoreboard
Merge remote-tracking branch 'origin/patch-1'