Removed time stopping fields from SetTimePacket and fixed #526

TODO: rules
This commit is contained in:
Dylan K. Taylor
2017-04-11 19:26:43 +01:00
parent 022f33b256
commit 894beed59b
3 changed files with 6 additions and 18 deletions

View File

@ -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{