missed this in previous commit

This commit is contained in:
Dylan K. Taylor 2019-05-20 16:45:00 +01:00
parent d6ce3f82b1
commit cd0f0cb66c

View File

@ -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;
}
/**