mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 02:08:21 +00:00
Make blockstate (de)serializer names a bit less verbose
This commit is contained in:
@ -169,7 +169,7 @@ use pocketmine\utils\AssumptionFailedError;
|
||||
use function class_parents;
|
||||
use function get_class;
|
||||
|
||||
final class BlockObjectToBlockStateSerializer implements BlockStateSerializer{
|
||||
final class BlockObjectToStateSerializer implements BlockStateSerializer{
|
||||
/**
|
||||
* These callables actually accept Block, but for the sake of type completeness, it has to be never, since we can't
|
||||
* describe the bottom type of a type hierarchy only containing Block.
|
@ -54,7 +54,7 @@ use function array_key_exists;
|
||||
use function count;
|
||||
use function min;
|
||||
|
||||
final class BlockStateToBlockObjectDeserializer implements BlockStateDeserializer{
|
||||
final class BlockStateToObjectDeserializer implements BlockStateDeserializer{
|
||||
|
||||
/**
|
||||
* @var \Closure[]
|
Reference in New Issue
Block a user