This commit is contained in:
Dylan K. Taylor
2022-07-05 14:14:27 +01:00
parent 325f1cf82e
commit 6be92ea6f7

View File

@@ -63,9 +63,9 @@ class BrewingStand extends Transparent{
protected function encodeState(RuntimeDataWriter $w) : void{ protected function encodeState(RuntimeDataWriter $w) : void{
foreach([ foreach([
\pocketmine\block\utils\BrewingStandSlot::EAST(), BrewingStandSlot::EAST(),
\pocketmine\block\utils\BrewingStandSlot::NORTHWEST(), BrewingStandSlot::NORTHWEST(),
\pocketmine\block\utils\BrewingStandSlot::SOUTHWEST(), BrewingStandSlot::SOUTHWEST(),
] as $member){ ] as $member){
$w->writeBool(isset($this->slots[$member->id()])); $w->writeBool(isset($this->slots[$member->id()]));
} }