From 42014311c58e2b4926c9267df94ebd5814510d0a Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Mon, 27 Jan 2020 18:08:08 +0000 Subject: [PATCH] BrewingStand: added missing void return type --- src/block/tile/BrewingStand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/block/tile/BrewingStand.php b/src/block/tile/BrewingStand.php index 62814e528..6d34ecfb8 100644 --- a/src/block/tile/BrewingStand.php +++ b/src/block/tile/BrewingStand.php @@ -54,7 +54,7 @@ class BrewingStand extends Spawnable implements Container, Nameable{ public function __construct(World $world, Vector3 $pos){ parent::__construct($world, $pos); $this->inventory = new BrewingStandInventory($this->pos); - $this->inventory->addChangeListeners(CallbackInventoryChangeListener::onAnyChange(function(Inventory $unused){ + $this->inventory->addChangeListeners(CallbackInventoryChangeListener::onAnyChange(function(Inventory $unused) : void{ $this->pos->getWorld()->scheduleDelayedBlockUpdate($this->pos, 1); })); }