diff --git a/src/pocketmine/utils/Config.php b/src/pocketmine/utils/Config.php index 13d47f4d8..9fbd06bb6 100644 --- a/src/pocketmine/utils/Config.php +++ b/src/pocketmine/utils/Config.php @@ -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 *