Remove unnecessary return statement (#6350)

This commit is contained in:
Vega Nicholas S 2024-05-31 22:54:50 +07:00 committed by GitHub
parent fb9a74e879
commit 4c418b4318
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1437,7 +1437,7 @@ final class BlockStateToObjectDeserializer implements BlockStateDeserializer{
$in->ignored(StateNames::PILLAR_AXIS);
return Blocks::SMOOTH_QUARTZ();
default:
return throw $in->badValueException(StateNames::CHISEL_TYPE, $type);
throw $in->badValueException(StateNames::CHISEL_TYPE, $type);
}
});
$this->mapStairs(Ids::QUARTZ_STAIRS, fn() => Blocks::QUARTZ_STAIRS());