mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Removed time stopping fields from SetTimePacket and fixed #526
TODO: rules
This commit is contained in:
@ -29,7 +29,6 @@ class SetTimePacket extends DataPacket{
|
||||
const NETWORK_ID = ProtocolInfo::SET_TIME_PACKET;
|
||||
|
||||
public $time;
|
||||
public $started = true;
|
||||
|
||||
public function decode(){
|
||||
|
||||
@ -38,7 +37,6 @@ class SetTimePacket extends DataPacket{
|
||||
public function encode(){
|
||||
$this->reset();
|
||||
$this->putVarInt($this->time);
|
||||
$this->putBool($this->started);
|
||||
}
|
||||
|
||||
public function handle(NetworkSession $session) : bool{
|
||||
|
Reference in New Issue
Block a user