mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Item: drop useless @var confusing PHPStan
This commit is contained in:
@ -438,7 +438,6 @@ class Item implements ItemIds, \JsonSerializable{
|
|||||||
return $this->clearCustomName();
|
return $this->clearCustomName();
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @var CompoundTag $display */
|
|
||||||
$display = $this->getNamedTagEntry(self::TAG_DISPLAY);
|
$display = $this->getNamedTagEntry(self::TAG_DISPLAY);
|
||||||
if(!($display instanceof CompoundTag)){
|
if(!($display instanceof CompoundTag)){
|
||||||
$display = new CompoundTag(self::TAG_DISPLAY);
|
$display = new CompoundTag(self::TAG_DISPLAY);
|
||||||
|
Reference in New Issue
Block a user