mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 12:18:46 +00:00
EntityMetadataCollection: fixed wrong parameter doc type on set()
This commit is contained in:
parent
ec13cd695d
commit
15762b03f8
@ -121,9 +121,9 @@ class EntityMetadataCollection{
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param int $key
|
* @param int $key
|
||||||
* @param mixed $value
|
* @param MetadataProperty $value
|
||||||
* @param bool $force
|
* @param bool $force
|
||||||
*/
|
*/
|
||||||
public function set(int $key, MetadataProperty $value, bool $force = false) : void{
|
public function set(int $key, MetadataProperty $value, bool $force = false) : void{
|
||||||
if(!$force and isset($this->properties[$key]) and !($this->properties[$key] instanceof $value)){
|
if(!$force and isset($this->properties[$key]) and !($this->properties[$key] instanceof $value)){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user