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:
Dylan K. Taylor 2025-08-17 15:24:40 +01:00
parent cb7a562c8b
commit eea4f40138
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -1355,7 +1355,6 @@ final class BlockStateToObjectDeserializer implements BlockStateDeserializer{
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{
return Blocks::CHISELED_QUARTZ()
->setAxis($in->readPillarAxis());