Skip to content

Commit

Permalink
Fix null error during leaderboard updating under certain conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
JustBru00 committed Feb 14, 2019
1 parent 5765292 commit 78b4d46
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ public static void updateBalanceLeaderboard() {
name = "Empty";
}

if (name == null) {
name = "Empty";
}

line = line.replace("{name" + i +"}", name);
}

Expand Down
2 changes: 1 addition & 1 deletion src/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: NetherCubeElytra
main: com.gmail.justbru00.nethercube.elytra.main.NetherCubeElytra
version: 1.2.1
version: 1.2.2
authors: [JustBru00,Justin Brubaker]
softdepend: [HolographicDisplays,PlaceholderAPI]
commands:
Expand Down

0 comments on commit 78b4d46

Please sign in to comment.