DataPropertyManager: fix an unnecessary FQN

This commit is contained in:
Dylan K. Taylor 2018-04-02 12:34:05 +01:00
parent eba1ca030c
commit 1fc388d6de

View File

@ -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;
}