Painting: fix dropping multiple items when multiple blockupdates occur in the same tick

test case: place sand on top of a line of signs, put a painting on the sand and break the supporting sign
fixes #2774 for stable
This commit is contained in:
Dylan K. Taylor 2019-11-06 14:29:43 -05:00
parent c5d3e9be76
commit cac3c356a5

View File

@ -90,6 +90,9 @@ class Painting extends Entity{
}
public function kill() : void{
if(!$this->isAlive()){
return;
}
parent::kill();
$drops = true;