mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-19 12:15:32 +00:00
BlockStateDeserializerR13: fixed some formatting issues
This commit is contained in:
parent
8a84f87879
commit
d6dfcb11e8
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user