New direct block method, better block placement sending

This commit is contained in:
Shoghi Cervantes
2013-06-01 00:32:23 +02:00
parent 722eb6d1f9
commit 24ba7cbbd1
7 changed files with 72 additions and 46 deletions

View File

@@ -400,7 +400,7 @@ class Entity extends Position{
if($fall->isFullBlock === false or $down->isFullBlock === false){
$this->server->api->entity->drop($this, BlockAPI::getItem($this->data["Tile"] & 0xFFFF, 0, 1), true);
}else{
$this->level->setBlock($fall, BlockAPI::get($this->data["Tile"]));
$this->level->setBlock($fall, BlockAPI::get($this->data["Tile"]), true, false, true);
}
$this->server->api->handle("entity.motion", $this);
$this->close();