mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/GabsPuNs-MinecraftConsoles.git
synced 2026-07-11 15:38:21 +00:00
Use BYTE Win Typedef instead of byte typedef from Minecraft.World
This commit is contained in:
@@ -7,13 +7,13 @@ class ServerAuthDataPacket : public Packet
|
||||
#if 0
|
||||
private String serverId;
|
||||
private PublicKey publicKey;
|
||||
private byte[] nonce = new byte[]{};
|
||||
private BYTE[] nonce = new BYTE[]{};
|
||||
|
||||
public ServerAuthDataPacket() {
|
||||
// Needed
|
||||
}
|
||||
|
||||
public ServerAuthDataPacket(final String serverId, final PublicKey publicKey, final byte[] nonce) {
|
||||
public ServerAuthDataPacket(final String serverId, final PublicKey publicKey, final BYTE[] nonce) {
|
||||
this.serverId = serverId;
|
||||
this.publicKey = publicKey;
|
||||
this.nonce = nonce;
|
||||
@@ -51,7 +51,7 @@ class ServerAuthDataPacket : public Packet
|
||||
return publicKey;
|
||||
}
|
||||
|
||||
public byte[] getNonce() {
|
||||
public BYTE[] getNonce() {
|
||||
return nonce;
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user