mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-10 05:34:54 +00:00
Drops do not get into blocks
This commit is contained in:
parent
848554bc0c
commit
e6dbd61308
@ -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){
|
||||
|
Loading…
x
Reference in New Issue
Block a user