mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-22 19:06:35 +00:00
Item: drop useless @var confusing PHPStan
This commit is contained in:
parent
1a5228e7a6
commit
4518d9d9ce
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user