mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-18 12:04:46 +00:00
Achievements API
This commit is contained in:
@@ -150,7 +150,7 @@ class Config{
|
||||
}
|
||||
}
|
||||
|
||||
public function __get($k){
|
||||
public function &__get($k){
|
||||
return $this->get($k);
|
||||
}
|
||||
|
||||
@@ -166,11 +166,11 @@ class Config{
|
||||
return $this->remove($k);
|
||||
}
|
||||
|
||||
public function get($k){
|
||||
public function &get($k){
|
||||
if($this->correct === false or !isset($this->config[$k])){
|
||||
return false;
|
||||
}
|
||||
return ($this->config[$k]);
|
||||
return $this->config[$k];
|
||||
}
|
||||
|
||||
public function set($k, $v = true){
|
||||
|
Reference in New Issue
Block a user