mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 02:08:21 +00:00
DataPropertyManager: fix an unnecessary FQN
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user