Skip to content

Commit

Permalink
fixed role check & version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
Shimell committed Mar 18, 2021
1 parent 4065516 commit 0497d2d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>uk.co.angrybee.joe</groupId>
<artifactId>discord-whitelister</artifactId>
<version>1.4.7</version>
<version>1.4.8</version>

<name>discord-whitelister</name>
<url>https://github.com/JoeShimell/DiscordWhitelisterSpigot</url>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/uk/co/angrybee/joe/DiscordClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -1359,7 +1359,7 @@ public static void RequiredRoleStartupCheck()
{
for (Role role : member.getRoles())
{
if (role.getId().equals(roleToCheck))
if (role.getName().equals(roleToCheck))
{
requiredRole = true;
break;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/uk/co/angrybee/joe/VersionInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ public static String getLongVersion() {
return "v." + getVersion();
}

private static String version = "1.4.7";
private static String version = "1.4.8";
}
2 changes: 1 addition & 1 deletion src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: DiscordWhitelister
version: 1.4.7
version: 1.4.8
author: Joe Shimell
main: uk.co.angrybee.joe.DiscordWhitelister
description: Discord Whitelister.
Expand Down

0 comments on commit 0497d2d

Please sign in to comment.