Fixed error in PlayerThreads