mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-05 11:27:07 +00:00
Fix for Server::hasOfflinePlayerData (#2919)
This commit is contained in:
parent
bb93d4f8de
commit
5a351d3caf
@ -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");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user