Fix a bunch of block update bugs due to ancient code

This commit is contained in:
Dylan K. Taylor
2016-12-16 17:08:38 +00:00
parent 0380c78926
commit aa8a13c4a3
7 changed files with 14 additions and 11 deletions

View File

@ -112,7 +112,7 @@ class Leaves2 extends Leaves{
if($type === Level::BLOCK_UPDATE_NORMAL){
if(($this->meta & 0b00001100) === 0){
$this->meta |= 0x08;
$this->getLevel()->setBlock($this, $this, false, false, true);
$this->getLevel()->setBlock($this, $this, true, false);
}
}elseif($type === Level::BLOCK_UPDATE_RANDOM){
if(($this->meta & 0b00001100) === 0x08){