deathMessage = $deathMessage; } /** * @return Player */ public function getEntity(){ return $this->entity; } public function getDeathMessage(){ return $this->deathMessage; } public function setDeathMessage($deathMessage){ $this->deathMessage = $deathMessage; } public function getKeepInventory(){ return $this->keepInventory; } public function setKeepInventory($keepInventory){ $this->keepInventory = (bool) $keepInventory; } }