mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
Drops do not get into blocks
This commit is contained in:
parent
848554bc0c
commit
e6dbd61308
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue