Fix wrong SetDifficultyPacket decode

This commit is contained in:
Dylan K. Taylor 2016-10-12 15:54:57 +01:00
parent 9497dff3ee
commit a45e232829

View File

@ -30,7 +30,7 @@ class SetDifficultyPacket extends DataPacket{
public $difficulty;
public function decode(){
$this->difficulty = $this->getInt();
$this->difficulty = $this->getUnsignedVarInt();
}
public function encode(){