Skip to content

Commit

Permalink
PUSH
Browse files Browse the repository at this point in the history
-> Fixed the error where instance is not instance
  • Loading branch information
NaysKutzu committed Nov 1, 2024
1 parent c33fc3e commit 2858561
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/MythicalSystems/Utils/BungeeConfigApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,8 @@ private function renameYAMLToYML(): void
*
* @return BungeeConfigApi The instance of the BungeeConfigApi
*/
public function getInstance(): BungeeConfigApi {
return $this->instance;
public static function getInstance($fileName): BungeeConfigApi {
self::$fileName = $fileName;
return self::$instance;
}
}

0 comments on commit 2858561

Please sign in to comment.