Merge remote-tracking branch 'origin/stable'

This commit is contained in:
Dylan K. Taylor
2019-05-13 18:17:42 +01:00
3 changed files with 4 additions and 3 deletions

View File

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