mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-09 15:29:47 +00:00
missed this in previous commit
This commit is contained in:
parent
d6ce3f82b1
commit
cd0f0cb66c
@ -100,7 +100,8 @@ class SlotChangeAction extends InventoryAction{
|
||||
* @return bool
|
||||
*/
|
||||
public function execute(Player $source) : bool{
|
||||
return $this->inventory->setItem($this->inventorySlot, $this->targetItem, false);
|
||||
$this->inventory->setItem($this->inventorySlot, $this->targetItem, false);
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user