unknown -> randomly (fixed #68)

This commit is contained in:
GameHerobrine 2026-02-03 09:08:55 +03:00
parent 3fb4198210
commit 5eb458e14e
2 changed files with 5 additions and 4 deletions

View file

@ -2935,7 +2935,8 @@ class Player{
$this->toCraft = [];
$this->craftingType = CraftingRecipes::TYPE_INVENTORY;
$data["eid"] = $packet->eid;
$data["unknown"] = $packet->unknown;
$data["unknown"] = $packet->randomly;
$data["randomly"] = $packet->randomly;
$data["item"] = $packet->item;
$data["player"] = $this;
if($this->blocked === false and $this->server->handle("player.drop", $data) !== false){