mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-18 12:04:46 +00:00
Config->getPath() returns the path of the config i.e. the place where the config file is located.
This commit is contained in:
committed by
Dylan K. Taylor
parent
eedea4998b
commit
eaa78fe849
@@ -248,6 +248,15 @@ class Config{
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the path of the config.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getPath() : string{
|
||||
return $this->file;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the options for the JSON encoding when saving
|
||||
*
|
||||
|
Reference in New Issue
Block a user