mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 12:18:46 +00:00
DataPropertyManager: fix an unnecessary FQN
This commit is contained in:
parent
eba1ca030c
commit
1fc388d6de
@ -143,7 +143,7 @@ class DataPropertyManager{
|
|||||||
*/
|
*/
|
||||||
public function getItem(int $key) : ?Item{
|
public function getItem(int $key) : ?Item{
|
||||||
$value = $this->getPropertyValue($key, Entity::DATA_TYPE_SLOT);
|
$value = $this->getPropertyValue($key, Entity::DATA_TYPE_SLOT);
|
||||||
assert($value instanceof \pocketmine\item\Item or $value === null);
|
assert($value instanceof Item or $value === null);
|
||||||
return $value;
|
return $value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user