Fixed some lines indented with 4 spaces rather than tabs

This commit is contained in:
SOF3
2016-10-03 00:58:34 +08:00
parent 6fc435da0e
commit e913b16804
56 changed files with 238 additions and 238 deletions

View File

@ -26,7 +26,7 @@ namespace pocketmine\network\protocol;
class FullChunkDataPacket extends DataPacket{
const NETWORK_ID = Info::FULL_CHUNK_DATA_PACKET;
const ORDER_COLUMNS = 0;
const ORDER_LAYERED = 1;
@ -41,9 +41,9 @@ class FullChunkDataPacket extends DataPacket{
public function encode(){
$this->reset();
$this->putInt($this->chunkX);
$this->putInt($this->chunkZ);
$this->putByte($this->order);
$this->putInt($this->chunkX);
$this->putInt($this->chunkZ);
$this->putByte($this->order);
$this->putInt(strlen($this->data));
$this->put($this->data);
}

View File

@ -26,7 +26,7 @@ namespace pocketmine\network\protocol;
class PlayStatusPacket extends DataPacket{
const NETWORK_ID = Info::PLAY_STATUS_PACKET;
const LOGIN_SUCCESS = 0;
const LOGIN_FAILED_CLIENT = 1;
const LOGIN_FAILED_SERVER = 2;

View File

@ -29,7 +29,7 @@ class UpdateBlockPacket extends DataPacket{
const FLAG_NONE = 0b0000;
const FLAG_NEIGHBORS = 0b0001;
const FLAG_NETWORK = 0b0010;
const FLAG_NETWORK = 0b0010;
const FLAG_NOGRAPHIC = 0b0100;
const FLAG_PRIORITY = 0b1000;

View File

@ -44,7 +44,7 @@ class QueryHandler{
The Query protocol is built on top of the existing Minecraft PE UDP network stack.
Because the 0xFE packet does not exist in the MCPE protocol,
we can identify Query packets and remove them from the packet queue.
Then, the Query class handles itself sending the packets in raw form, because
packets can conflict with the MCPE ones.
*/