Fixed bug in playerTotal method