Fix for Server::hasOfflinePlayerData (#2919)

This commit is contained in:
Frago9876543210 2019-05-12 14:06:05 +03:00 committed by Dylan T
parent bb93d4f8de
commit 5a351d3caf

View File

@ -799,6 +799,7 @@ class Server{
* @return bool
*/
public function hasOfflinePlayerData(string $name) : bool{
$name = strtolower($name);
return file_exists($this->getDataPath() . "players/$name.dat");
}