mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-19 09:26:45 +00:00
Remove unnecessary return statement (#6350)
This commit is contained in:
parent
fb9a74e879
commit
4c418b4318
@ -1437,7 +1437,7 @@ final class BlockStateToObjectDeserializer implements BlockStateDeserializer{
|
|||||||
$in->ignored(StateNames::PILLAR_AXIS);
|
$in->ignored(StateNames::PILLAR_AXIS);
|
||||||
return Blocks::SMOOTH_QUARTZ();
|
return Blocks::SMOOTH_QUARTZ();
|
||||||
default:
|
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());
|
$this->mapStairs(Ids::QUARTZ_STAIRS, fn() => Blocks::QUARTZ_STAIRS());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user