Avoid NPE when using experience commands on offline players.