From 90fc6494417264daee9fe18d75d5877309577ea0 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Thu, 4 Jan 2018 20:32:06 +0000 Subject: [PATCH] Fixed bad PhpDoc leftovers from NBT streams refactor --- src/pocketmine/item/Item.php | 2 +- src/pocketmine/tile/Spawnable.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pocketmine/item/Item.php b/src/pocketmine/item/Item.php index 5aef7797a..36465f2f5 100644 --- a/src/pocketmine/item/Item.php +++ b/src/pocketmine/item/Item.php @@ -56,7 +56,7 @@ class Item implements ItemIds, \JsonSerializable{ public const TAG_DISPLAY_LORE = "Lore"; - /** @var NBT */ + /** @var LittleEndianNBTStream */ private static $cachedParser = null; private static function parseCompoundTag(string $tag) : CompoundTag{ diff --git a/src/pocketmine/tile/Spawnable.php b/src/pocketmine/tile/Spawnable.php index 427512577..c9fd0dc90 100644 --- a/src/pocketmine/tile/Spawnable.php +++ b/src/pocketmine/tile/Spawnable.php @@ -33,7 +33,7 @@ use pocketmine\Player; abstract class Spawnable extends Tile{ /** @var string|null */ private $spawnCompoundCache = null; - /** @var NBT|null */ + /** @var NetworkLittleEndianNBTStream|null */ private static $nbtWriter = null; public function createSpawnPacket() : BlockEntityDataPacket{