Skip to content

Commit

Permalink
🚨 Fix LoginSuccessPacketTest compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
YvanMazy committed Apr 23, 2024
1 parent 3a53de6 commit 3ec780a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ void testWriteReadConsistency() {
final UUID uuid = UUID.fromString("169033d6-0967-49dc-828e-a6c48665e08f");
final String username = "Darkkraft";
final Property[] properties = {new Property("name", "value", "signature")};
this.test(new LoginSuccessPacket(uuid, username, new Property[0]), LoginSuccessPacket::new);
this.test(new LoginSuccessPacket(uuid, username, properties), LoginSuccessPacket::new);
this.test(new LoginSuccessPacket(uuid, username, new Property[0], true), LoginSuccessPacket::new);
this.test(new LoginSuccessPacket(uuid, username, properties, true), LoginSuccessPacket::new);
}

}

0 comments on commit 3ec780a

Please sign in to comment.