mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Inventory: drop $send params from setItem() and clear()
This commit is contained in:
@ -58,8 +58,8 @@ class CraftingGrid extends BaseInventory{
|
||||
return $this->gridWidth;
|
||||
}
|
||||
|
||||
public function setItem(int $index, Item $item, bool $send = true) : void{
|
||||
parent::setItem($index, $item, $send);
|
||||
public function setItem(int $index, Item $item) : void{
|
||||
parent::setItem($index, $item);
|
||||
$this->seekRecipeBounds();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user