Skip to content

Commit

Permalink
Add missing return statement to prevent printing the exception althou…
Browse files Browse the repository at this point in the history
…gh nothing bad happened (#4)
  • Loading branch information
Robin Füllgraf authored Apr 1, 2022
1 parent caa1e7b commit fa47c2a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ public void success(PlayerData data) {
public void error(IOException error) {
if (error instanceof FileNotFoundException || error instanceof NoSuchFileException) {
coreSetCommandHandler(sender, group, uuidString, new PlayerData(new ArrayList<>()));
return;
}

error.printStackTrace();
Expand Down

0 comments on commit fa47c2a

Please sign in to comment.