Skip to content

Commit

Permalink
Fixed missing data file warning
Browse files Browse the repository at this point in the history
  • Loading branch information
srnyx committed Oct 5, 2023
1 parent e529305 commit 9c1508f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ plugins {
id("com.github.johnrengelman.shadow") version "8.1.1"
}

setupAnnoyingAPI("092bc8bd6e", "xyz.srnyx", "3.0.1", "Each player has a limited number of lives. If you die, you are punished")
setupAnnoyingAPI("4619ec3509", "xyz.srnyx", "3.0.1", "Each player has a limited number of lives. If you die, you are punished")
spigotAPI("1.8.8")
repository(Repository.PLACEHOLDER_API)
repository("https://maven.enginehub.org/repo/")
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/xyz/srnyx/limitedlives/LimitedLives.java
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public LimitedLives() {

// No old data loaded
if (oldLivesData != null || oldDeadPlayers != null) return;
oldData.delete();
oldData.delete(true);
oldData = null;
}

Expand Down

0 comments on commit 9c1508f

Please sign in to comment.