mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 08:17:34 +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();
|
||||
}
|
||||
|
||||
/** @var CompoundTag $display */
|
||||
$display = $this->getNamedTagEntry(self::TAG_DISPLAY);
|
||||
if(!($display instanceof CompoundTag)){
|
||||
$display = new CompoundTag(self::TAG_DISPLAY);
|
||||
|
Loading…
x
Reference in New Issue
Block a user