remove: авторизация Mojang
This commit is contained in:
@@ -32,22 +32,22 @@ public class Packet1Login extends Packet
|
||||
{
|
||||
}
|
||||
|
||||
public Packet1Login(String par1Str, int par2)
|
||||
public Packet1Login(String username, int protocolVersion)
|
||||
{
|
||||
username = par1Str;
|
||||
protocolVersion = par2;
|
||||
this.username = username;
|
||||
this.protocolVersion = protocolVersion;
|
||||
}
|
||||
|
||||
public Packet1Login(String par1Str, int par2, WorldType par3WorldType, int par4, int par5, byte par6, byte par7, byte par8)
|
||||
public Packet1Login(String username, int protocolVersion, WorldType terrainType, int serverMode, int dimension, byte difficultySetting, byte worldHeight, byte maxPlayers)
|
||||
{
|
||||
username = par1Str;
|
||||
protocolVersion = par2;
|
||||
terrainType = par3WorldType;
|
||||
dimension = par5;
|
||||
difficultySetting = par6;
|
||||
serverMode = par4;
|
||||
worldHeight = par7;
|
||||
maxPlayers = par8;
|
||||
this.username = username;
|
||||
this.protocolVersion = protocolVersion;
|
||||
this.terrainType = terrainType;
|
||||
this.dimension = dimension;
|
||||
this.difficultySetting = difficultySetting;
|
||||
this.serverMode = serverMode;
|
||||
this.worldHeight = worldHeight;
|
||||
this.maxPlayers = maxPlayers;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user