diff --git a/src/pocketmine/utils/Config.php b/src/pocketmine/utils/Config.php index e5617f0c5..7b9c2a710 100644 --- a/src/pocketmine/utils/Config.php +++ b/src/pocketmine/utils/Config.php @@ -192,6 +192,15 @@ class Config{ } } + /** + * Returns the path of the config. + * + * @return string + */ + public function getPath() : string{ + return $this->file; + } + /** * Flushes the config to disk in the appropriate format. *