Skip to content
This repository has been archived by the owner on Dec 29, 2023. It is now read-only.

Commit

Permalink
Try to remove position ?
Browse files Browse the repository at this point in the history
  • Loading branch information
sclement committed Dec 28, 2023
1 parent 42ccdfc commit 2217690
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/net/Broken/Tools/AutoVoiceChannel.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public void join(AudioChannel voiceChannel) {
}

title = title.replace("@count", Integer.toString(next));
newChannel.getManager().setName(title).setPosition(voiceChannel.getPosition()).queue(t -> {
newChannel.getManager().setName(title).queue(t -> {
moveMembers(voiceChannel.getMembers(), (AudioChannel) newChannel);
createdChannels.put(next, newChannel.getId());
});
Expand Down

0 comments on commit 2217690

Please sign in to comment.