mirror of
https://github.com/GeyserMC/MCProtocolLib.git
synced 2024-12-28 08:32:24 -05:00
Update tests
This commit is contained in:
parent
7597e0e8e5
commit
8f1834d906
3 changed files with 4 additions and 3 deletions
|
@ -92,7 +92,8 @@ public class MinecraftProtocolTest {
|
|||
false,
|
||||
null,
|
||||
100
|
||||
)
|
||||
),
|
||||
true
|
||||
))
|
||||
);
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@ public class MinecraftProtocolTest {
|
|||
null,
|
||||
false
|
||||
);
|
||||
private static final ClientboundLoginPacket JOIN_GAME_PACKET = new ClientboundLoginPacket(0, false, new String[]{"minecraft:world"}, 0, 16, 16, false, false, false, new PlayerSpawnInfo("overworld", "minecraft:world", 100, GameMode.SURVIVAL, GameMode.SURVIVAL, false, false, null, 100));
|
||||
private static final ClientboundLoginPacket JOIN_GAME_PACKET = new ClientboundLoginPacket(0, false, new String[]{"minecraft:world"}, 0, 16, 16, false, false, false, new PlayerSpawnInfo("overworld", "minecraft:world", 100, GameMode.SURVIVAL, GameMode.SURVIVAL, false, false, null, 100), true);
|
||||
|
||||
private static Server server;
|
||||
|
||||
|
|
|
@ -23,6 +23,6 @@ public class ClientboundHelloPacketTest extends PacketTest {
|
|||
byte[] verifyToken = new byte[4];
|
||||
new Random().nextBytes(verifyToken);
|
||||
|
||||
this.setPackets(new ClientboundHelloPacket("ServerID", keyPair.getPublic(), verifyToken));
|
||||
this.setPackets(new ClientboundHelloPacket("ServerID", keyPair.getPublic(), verifyToken, true));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue