diff --git a/pom.xml b/pom.xml
index fdfcba52..71138154 100644
--- a/pom.xml
+++ b/pom.xml
@@ -129,13 +129,13 @@
de.themoep
inventorygui
- 1.5-SNAPSHOT
+ 1.6.2-SNAPSHOT
com.github.cryptomorin
XSeries
- 10.0.0
+ 11.1.0
@@ -211,7 +211,7 @@
org.apache.maven.plugins
maven-jar-plugin
- 3.4.1
+ 3.4.2
${export_dir}
@@ -294,7 +294,7 @@
org.apache.maven.plugins
maven-checkstyle-plugin
- 3.3.1
+ 3.4.0
src/main/resources/parkourCheckstyles.xml
true
diff --git a/src/main/java/io/github/a5h73y/parkour/type/player/PlayerManager.java b/src/main/java/io/github/a5h73y/parkour/type/player/PlayerManager.java
index 77477fa6..0d85754d 100644
--- a/src/main/java/io/github/a5h73y/parkour/type/player/PlayerManager.java
+++ b/src/main/java/io/github/a5h73y/parkour/type/player/PlayerManager.java
@@ -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;
}