X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Fdata%2FReplyBuilder.java;h=fa0aac88e017b10f4ec197f9c387f5a0d2067423;hp=53f3153b957ae418dcb4dcff7ec6af2fe408cac0;hb=173eb2df26ebc15a6aa5565ec15dfad37bfa61a1;hpb=afc39ea1568140a6e73e9b8343e004813f5d95c1 diff --git a/src/main/java/net/pterodactylus/sone/data/ReplyBuilder.java b/src/main/java/net/pterodactylus/sone/data/ReplyBuilder.java index 53f3153..fa0aac8 100644 --- a/src/main/java/net/pterodactylus/sone/data/ReplyBuilder.java +++ b/src/main/java/net/pterodactylus/sone/data/ReplyBuilder.java @@ -46,14 +46,14 @@ public interface ReplyBuilder> { public B withId(String id); /** - * Configures this builder to use the given {@link Sone} as sender of the - * reply. + * Configures this builder to use the ID of the given {@link Sone} as sender + * of the reply. * - * @param sender - * The sender of the reply + * @param senderId + * The ID of the sender of the reply * @return This builder */ - public B from(Sone sender); + public B from(String senderId); /** * Configures this builder to use the current time when creating the reply.