Fix NPE in Player.playEffect