mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-18 12:04:46 +00:00
Merge commit '799183e13e61e89cc6820ad3132a4147454017c6'
# Conflicts: # resources/vanilla # src/Server.php # src/pocketmine/entity/Entity.php # src/pocketmine/level/format/io/LevelProviderManager.php # src/pocketmine/tile/Tile.php # src/world/generator/GeneratorManager.php
This commit is contained in:
@@ -114,6 +114,7 @@ final class EntityFactory{
|
||||
* @param string $className Class that extends Entity
|
||||
* @param string[] $saveNames An array of save names which this entity might be saved under. Defaults to the short name of the class itself if empty.
|
||||
* @param int|null $legacyMcpeSaveId
|
||||
* @phpstan-param class-string<Entity> $className
|
||||
*
|
||||
* NOTE: The first save name in the $saveNames array will be used when saving the entity to disk. The reflection
|
||||
* name of the class will be appended to the end and only used if no other save names are specified.
|
||||
|
Reference in New Issue
Block a user