BlockStateDeserializerR13: fixed some formatting issues

This commit is contained in:
Dylan K. Taylor 2021-09-30 17:32:06 +01:00
parent 8a84f87879
commit d6dfcb11e8
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -36,7 +36,6 @@ use pocketmine\block\Liquid;
use pocketmine\block\RedMushroomBlock; use pocketmine\block\RedMushroomBlock;
use pocketmine\block\RedstoneComparator; use pocketmine\block\RedstoneComparator;
use pocketmine\block\RedstoneRepeater; use pocketmine\block\RedstoneRepeater;
use pocketmine\block\Sapling;
use pocketmine\block\SimplePressurePlate; use pocketmine\block\SimplePressurePlate;
use pocketmine\block\Slab; use pocketmine\block\Slab;
use pocketmine\block\Stair; use pocketmine\block\Stair;
@ -77,6 +76,7 @@ final class BlockStateDeserializerR13{
private function mapVanilla(string $minecraftId, \Closure $c) : void{ private function mapVanilla(string $minecraftId, \Closure $c) : void{
$this->mapId("minecraft:$minecraftId", $c); $this->mapId("minecraft:$minecraftId", $c);
} }
/** @throws BlockStateDeserializeException */ /** @throws BlockStateDeserializeException */
private function decodeButton(Button $block, BlockStateReader $in) : Button{ private function decodeButton(Button $block, BlockStateReader $in) : Button{
return $block return $block