mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
Rename BlockFactory::fromFullBlock() -> BlockFactory::fromStateId()
This commit is contained in:
@ -172,7 +172,7 @@ final class BlockObjectToBlockStateSerializer implements BlockStateSerializer{
|
||||
|
||||
public function serialize(int $stateId) : BlockStateData{
|
||||
//TODO: singleton usage not ideal
|
||||
return $this->serializeBlock(BlockFactory::getInstance()->fromFullBlock($stateId));
|
||||
return $this->serializeBlock(BlockFactory::getInstance()->fromStateId($stateId));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user