mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 10:22:56 +00:00
Merged master into php7 to support 0.13.1
This commit is contained in:
@ -25,7 +25,7 @@ use pocketmine\level\format\FullChunk;
|
||||
use pocketmine\nbt\NBT;
|
||||
use pocketmine\nbt\tag\CompoundTag;
|
||||
use pocketmine\network\Network;
|
||||
use pocketmine\network\protocol\TileEntityDataPacket;
|
||||
use pocketmine\network\protocol\BlockEntityDataPacket;
|
||||
use pocketmine\Player;
|
||||
|
||||
abstract class Spawnable extends Tile{
|
||||
@ -37,7 +37,7 @@ abstract class Spawnable extends Tile{
|
||||
|
||||
$nbt = new NBT(NBT::LITTLE_ENDIAN);
|
||||
$nbt->setData($this->getSpawnCompound());
|
||||
$pk = new TileEntityDataPacket();
|
||||
$pk = new BlockEntityDataPacket();
|
||||
$pk->x = $this->x;
|
||||
$pk->y = $this->y;
|
||||
$pk->z = $this->z;
|
||||
|
@ -21,7 +21,6 @@
|
||||
|
||||
/**
|
||||
* All the Tile classes and related classes
|
||||
* TODO: Add Nether Reactor tile
|
||||
*/
|
||||
namespace pocketmine\tile;
|
||||
|
||||
|
Reference in New Issue
Block a user