public function getGrindWaitTime() { return max(0, $this->getLastGrind() + Settings::getGrindExpiry($this->getRank()) - time()); }