mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 19:02:59 +00:00
Rename BlockFactory::fromFullBlock() -> BlockFactory::fromStateId()
This commit is contained in:
@ -64,7 +64,7 @@ class FlowerPot extends Spawnable{
|
||||
}catch(BlockStateDeserializeException $e){
|
||||
throw new SavedDataLoadingException("Error deserializing plant for flower pot: " . $e->getMessage(), 0, $e);
|
||||
}
|
||||
$this->setPlant(BlockFactory::getInstance()->fromFullBlock($blockStateId));
|
||||
$this->setPlant(BlockFactory::getInstance()->fromStateId($blockStateId));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user