diff --git a/src/Player.php b/src/Player.php index f3d14a493..d5a6a6c65 100644 --- a/src/Player.php +++ b/src/Player.php @@ -79,9 +79,9 @@ class Player{ private $received = array(); public $realmsData = array(); - public function &__get($name){ + public function __get($name){ if(isset($this->{$name})){ - return $this->{$name}; + return ($this->{$name}); } return null; }