mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 08:17:34 +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{
|
||||
$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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user