mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
Removed network channels, bumped protocol
This commit is contained in:
@ -42,7 +42,7 @@ abstract class Spawnable extends Tile{
|
||||
$pk->y = $this->y;
|
||||
$pk->z = $this->z;
|
||||
$pk->namedtag = $nbt->write();
|
||||
$player->dataPacket($pk->setChannel(Network::CHANNEL_WORLD_EVENTS));
|
||||
$player->dataPacket($pk);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user