From aeaed0db999715ef73565ba35858cea906d23e0a Mon Sep 17 00:00:00 2001 From: yoyosource Date: Wed, 28 Jul 2021 21:00:10 +0200 Subject: [PATCH] Fix DiscordRanks --- src/de/steamwar/bungeecore/bot/util/DiscordRanks.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/steamwar/bungeecore/bot/util/DiscordRanks.java b/src/de/steamwar/bungeecore/bot/util/DiscordRanks.java index 15b9b45..7d1e22d 100644 --- a/src/de/steamwar/bungeecore/bot/util/DiscordRanks.java +++ b/src/de/steamwar/bungeecore/bot/util/DiscordRanks.java @@ -54,7 +54,7 @@ public class DiscordRanks { if (steamwarUser.getUserGroup() != UserGroup.Member) { System.out.println(steamwarUser + " ADDING"); - guild.addRoleToMember(member, guild.getRoleById(SteamwarDiscordBotConfig.RANKS.get(steamwarUser.getUserGroup()))); + guild.addRoleToMember(member, guild.getRoleById(SteamwarDiscordBotConfig.RANKS.get(steamwarUser.getUserGroup()))).complete(); } } }