Drops do not get into blocks

This commit is contained in:
Shoghi Cervantes 2013-05-30 19:54:55 +02:00
parent 848554bc0c
commit e6dbd61308

View File

@ -110,9 +110,9 @@ class EntityAPI{
"x" => $pos->x,
"y" => $pos->y + 0.19,
"z" => $pos->z,
"speedX" => mt_rand(-2, 2) / 6,
"speedX" => mt_rand(-1, 1) / 6,
"speedY" => mt_rand(5, 8) / 2,
"speedZ" => mt_rand(-2, 2) / 6,
"speedZ" => mt_rand(-1, 1) / 6,
"item" => $item,
);
if($this->server->api->handle("item.drop", $data) !== false){