Fixed bug checking player spell