Fix IdAndData constructor without data field (#3789)

This commit is contained in:
EnZaXD 2024-04-17 08:46:56 +02:00 committed by GitHub
parent 57d7fd59cc
commit bd8e469216
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -32,7 +32,8 @@ public class IdAndData {
private byte data;
public IdAndData(final int id) {
this(id, -1);
this.id = id;
this.data = -1;
}
public IdAndData(final int id, final int data) {