mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 00:33:59 +00:00
StartGamePacket: use EducationEditionOffer constants
This commit is contained in:
parent
f57fa2252b
commit
e982a57cb5
@ -30,6 +30,7 @@ use pocketmine\nbt\NetworkLittleEndianNBTStream;
|
||||
use pocketmine\nbt\tag\ListTag;
|
||||
use pocketmine\network\mcpe\NetworkBinaryStream;
|
||||
use pocketmine\network\mcpe\NetworkSession;
|
||||
use pocketmine\network\mcpe\protocol\types\EducationEditionOffer;
|
||||
use pocketmine\network\mcpe\protocol\types\GeneratorType;
|
||||
use pocketmine\network\mcpe\protocol\types\PlayerPermissions;
|
||||
use pocketmine\network\mcpe\protocol\types\RuntimeBlockMapping;
|
||||
@ -82,7 +83,7 @@ class StartGamePacket extends DataPacket{
|
||||
/** @var int */
|
||||
public $time = -1;
|
||||
/** @var int */
|
||||
public $eduEditionOffer = 0;
|
||||
public $eduEditionOffer = EducationEditionOffer::NONE;
|
||||
/** @var bool */
|
||||
public $hasEduFeaturesEnabled = false;
|
||||
/** @var float */
|
||||
|
Loading…
x
Reference in New Issue
Block a user