diff --git a/src/main/java/net/minestom/server/crypto/MessageSignature.java b/src/main/java/net/minestom/server/crypto/MessageSignature.java index 4c9d87d4b..5025f133e 100644 --- a/src/main/java/net/minestom/server/crypto/MessageSignature.java +++ b/src/main/java/net/minestom/server/crypto/MessageSignature.java @@ -13,8 +13,8 @@ public record MessageSignature(UUID signer, Instant timestamp, long salt, byte[] public static final UUID UNSIGNED_SENDER = new UUID(0,0); public static final MessageSignature UNSIGNED = new MessageSignature(UNSIGNED_SENDER, Instant.ofEpochMilli(0), 0, new byte[0]); - public MessageSignature(UUID sender, BinaryReader reader) { - this(sender, Instant.ofEpochMilli(reader.readLong()), reader.readLong(), reader.readByteArray()); + public MessageSignature(UUID signer, BinaryReader reader) { + this(signer, Instant.ofEpochMilli(reader.readLong()), reader.readLong(), reader.readByteArray()); } @Contract("_ -> new")