Skip to content

Commit

Permalink
Fix yml role id path bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Pequla committed Feb 6, 2023
1 parent 782f879 commit e93c659
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.pequla</groupId>
<artifactId>little-link</artifactId>
<version>1.7</version>
<version>1.8</version>
<packaging>jar</packaging>

<name>LittleLink</name>
Expand Down Expand Up @@ -75,22 +75,22 @@
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>2.14.1</version>
<version>2.14.2</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.14.1</version>
<version>2.14.2</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-jsr310</artifactId>
<version>2.14.1</version>
<version>2.14.2</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.24</version>
<version>1.18.26</version>
<scope>provided</scope>
</dependency>
</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/pequla/link/LittleLink.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public void handlePlayerLogin(PlayerLoginEvent event) {
// Should role be used
DataModel data;
if (getConfig().getBoolean("role.use")) {
String role = getConfig().getString("role");
String role = getConfig().getString("role.id");
data = DataService.getInstance().getLinkData(uuid, guild, role);
} else {
data = DataService.getInstance().getLinkData(uuid, guild);
Expand Down

0 comments on commit e93c659

Please sign in to comment.