Possible alternative
Move these to UserManager
Remove HashMap from UserManager
Arguments must be nullchecked before being used.

Fixes #1840.
Check if player has data key first
Check if defender has metadata key