Skip to content

Commit

Permalink
Fix maxdeaths limit not resetting resumable progress
Browse files Browse the repository at this point in the history
  • Loading branch information
A5H73Y committed Jun 26, 2024
1 parent 1bcc0a9 commit b40124d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -129,13 +129,13 @@
<dependency>
<groupId>de.themoep</groupId>
<artifactId>inventorygui</artifactId>
<version>1.5-SNAPSHOT</version>
<version>1.6.2-SNAPSHOT</version>
</dependency>
<!-- XSeries -->
<dependency>
<groupId>com.github.cryptomorin</groupId>
<artifactId>XSeries</artifactId>
<version>10.0.0</version>
<version>11.1.0</version>
</dependency>
<!-- Version Compare -->
<dependency>
Expand Down Expand Up @@ -211,7 +211,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.4.1</version>
<version>3.4.2</version>
<configuration>
<outputDirectory>${export_dir}</outputDirectory>
</configuration>
Expand Down Expand Up @@ -294,7 +294,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>3.3.1</version>
<version>3.4.0</version>
<configuration>
<configLocation>src/main/resources/parkourCheckstyles.xml</configLocation>
<consoleOutput>true</consoleOutput>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,7 @@ public void playerDie(Player player) {
} else {
TranslationUtils.sendValueTranslation("Parkour.MaxDeaths",
String.valueOf(session.getCourse().getSettings().getMaxDeaths()), player);
session.setMarkedForDeletion(true);
leaveCourse(player);
return;
}
Expand Down

0 comments on commit b40124d

Please sign in to comment.