mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-12 00:39:45 +00:00
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:
parent
c5d3e9be76
commit
cac3c356a5
@ -90,6 +90,9 @@ class Painting extends Entity{
|
||||
}
|
||||
|
||||
public function kill() : void{
|
||||
if(!$this->isAlive()){
|
||||
return;
|
||||
}
|
||||
parent::kill();
|
||||
|
||||
$drops = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user