mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 04:17: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
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public function hasOfflinePlayerData(string $name) : bool{
|
public function hasOfflinePlayerData(string $name) : bool{
|
||||||
|
$name = strtolower($name);
|
||||||
return file_exists($this->getDataPath() . "players/$name.dat");
|
return file_exists($this->getDataPath() . "players/$name.dat");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user