diff --git a/src/Player.php b/src/Player.php index 8a89dae4a..e62a5e82e 100644 --- a/src/Player.php +++ b/src/Player.php @@ -90,6 +90,13 @@ public function __get($name){ } return null; } + + public function &__get($name){ + if(isset($this->{$name})){ + return ($this->{$name}); + } + return null; + } /** * @param integer $clientID