mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-23 13:09:44 +00:00
ihategit x2
This commit is contained in:
parent
5f11abae12
commit
2bae9d8f42
2 changed files with 2 additions and 2 deletions
|
|
@ -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];
|
||||||
|
|
|
||||||
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue