ihategit x2

This commit is contained in:
GameHerobrine 2022-11-13 00:15:01 +03:00
parent 5f11abae12
commit 2bae9d8f42
2 changed files with 2 additions and 2 deletions

View file

@ -185,7 +185,7 @@ class AchievementAPI{
if(count($achs) <= 0){ if(count($achs) <= 0){
return "Player {$params[0]} unlocked 0 achievements"; return "Player {$params[0]} unlocked 0 achievements";
} }
$output = "Unlocked Achievements(".count($achs)."), "; $output = "Unlocked Achievements(".count($achs)."/".count(self::$achievements)."): ";
foreach($achs as $achievement => $unlocked){ foreach($achs as $achievement => $unlocked){
if($unlocked && isset(self::$achievements[$achievement])){ if($unlocked && isset(self::$achievements[$achievement])){
$info = self::$achievements[$achievement]; $info = self::$achievements[$achievement];

View file

@ -49,7 +49,7 @@ class BanAPI{
* @see ConsoleAPI::cmdWhitelist * @see ConsoleAPI::cmdWhitelist
* @param string $cmd Command to Whitelist * @param string $cmd Command to Whitelist
*/ */
public function cmdWhitelist($cmd){// public function cmdWhitelist($cmd){
$this->server->api->console->cmdWhitelist($cmd); $this->server->api->console->cmdWhitelist($cmd);
} }