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

@ -146,7 +146,7 @@ class Vine extends Transparent{
if($type === Level::BLOCK_UPDATE_NORMAL){
/*if($this->getSide(0)->getId() === self::AIR){ //Replace with common break method
Server::getInstance()->api->entity->drop($this, Item::get(LADDER, 0, 1));
$this->getLevel()->setBlock($this, new Air(), true, true, true);
$this->getLevel()->setBlock($this, new Air(), true, true);
return Level::BLOCK_UPDATE_NORMAL;
}*/
}