diff --git a/javacord-api/src/main/java/org/javacord/api/entity/channel/ServerThreadChannelBuilder.java b/javacord-api/src/main/java/org/javacord/api/entity/channel/ServerThreadChannelBuilder.java
index <HASH>..<HASH> 100644
--- a/javacord-api/src/main/java/org/javacord/api/entity/channel/ServerThreadChannelBuilder.java
+++ b/javacord-api/src/main/java/org/javacord/api/entity/channel/ServerThreadChannelBuilder.java
@@ -49,7 +49,7 @@ public class ServerThreadChannelBuilder extends ServerChannelBuilder<ServerThrea
      *                   only available when creating a private thread.
      * @return The current instance in order to chain call methods.
      */
-    public ServerThreadChannelBuilder setInvitableFlag(boolean inviteable) {
+    public ServerThreadChannelBuilder setInvitableFlag(Boolean inviteable) {
         delegate.setInvitableFlag(inviteable);
         return this;
     }
Change ServerThreadChannelBuilder#setInvitableFlag param from primitive to wrapper class because of nullability issues