Archiviert
1
0

Hotfix DiscordRanks

Dieser Commit ist enthalten in:
yoyosource 2021-07-29 00:10:44 +02:00
Ursprung 687fc11fda
Commit e978d7f0ca

Datei anzeigen

@ -60,7 +60,7 @@ public class DiscordRanks {
guild.removeRoleFromMember(member, role).complete(); guild.removeRoleFromMember(member, role).complete();
} }
if (!needed.isEmpty()) { if (needed != null && !needed.isEmpty()) {
guild.addRoleToMember(member, guild.getRoleById(needed)).complete(); guild.addRoleToMember(member, guild.getRoleById(needed)).complete();
} }
} }