mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-08-19 09:30:32 +00:00
BlockStateToObjectDeserializer: Remove duplicated CHISELED_COPPER registration
allowing overriding of serializers by the same method as first registration was a mistake...
This commit is contained in:
parent
cb7a562c8b
commit
eea4f40138
@ -1355,7 +1355,6 @@ final class BlockStateToObjectDeserializer implements BlockStateDeserializer{
|
|||||||
|
|
||||||
return $block;
|
return $block;
|
||||||
});
|
});
|
||||||
$this->map(Ids::CHISELED_COPPER, fn() => Helper::decodeCopper(Blocks::CHISELED_COPPER(), CopperOxidation::NONE));
|
|
||||||
$this->map(Ids::CHISELED_QUARTZ_BLOCK, function(Reader $in) : Block{
|
$this->map(Ids::CHISELED_QUARTZ_BLOCK, function(Reader $in) : Block{
|
||||||
return Blocks::CHISELED_QUARTZ()
|
return Blocks::CHISELED_QUARTZ()
|
||||||
->setAxis($in->readPillarAxis());
|
->setAxis($in->readPillarAxis());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user