diff --git a/application/core/Players/Player.php b/application/core/Players/Player.php index 13463301..0d327df2 100644 --- a/application/core/Players/Player.php +++ b/application/core/Players/Player.php @@ -317,9 +317,14 @@ class Player { /** * Var_Dump the Player + * + * @param bool $dumpCache */ - public function dump() { + public function dump($dumpCache = false) { var_dump(json_decode(json_encode($this))); + if ($dumpCache) { + var_dump("PlayerCache:", $this->cache); + } }