mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
Renamed NBT tags to have Tag in the name
This commit is contained in:
@ -23,7 +23,7 @@ namespace pocketmine\tile;
|
||||
|
||||
use pocketmine\level\format\FullChunk;
|
||||
use pocketmine\nbt\NBT;
|
||||
use pocketmine\nbt\tag\Compound;
|
||||
use pocketmine\nbt\tag\CompoundTag;
|
||||
use pocketmine\network\Network;
|
||||
use pocketmine\network\protocol\TileEntityDataPacket;
|
||||
use pocketmine\Player;
|
||||
@ -48,11 +48,11 @@ abstract class Spawnable extends Tile{
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Compound
|
||||
* @return CompoundTag
|
||||
*/
|
||||
public abstract function getSpawnCompound();
|
||||
|
||||
public function __construct(FullChunk $chunk, Compound $nbt){
|
||||
public function __construct(FullChunk $chunk, CompoundTag $nbt){
|
||||
parent::__construct($chunk, $nbt);
|
||||
$this->spawnToAll();
|
||||
}
|
||||
|
Reference in New Issue
Block a user