Revert bad duct-tape fix that broke lots of other things

Revert "Fixed players getting full health on rejoin after quitting on death"

This reverts commit 1d4bafb6ff3e768dc8fed0de414779ddc5e4ddb0.
This commit is contained in:
Dylan K. Taylor 2018-01-24 19:21:32 +00:00
parent 26d4169fea
commit 4a4900e5e7

View File

@ -922,7 +922,6 @@ abstract class Entity extends Location implements Metadatable, EntityIds{
if($amount <= 0){
if($this->isAlive()){
$this->health = 0;
$this->kill();
}
}elseif($amount <= $this->getMaxHealth() or $amount < $this->health){