Fixed bug in condition check for playerdata