diff --git a/src/main/java/com/gmail/nossr50/runnables/commands/MctopCommandDisplayTask.java b/src/main/java/com/gmail/nossr50/runnables/commands/MctopCommandDisplayTask.java index 07a568d6c..3bfb9afb7 100644 --- a/src/main/java/com/gmail/nossr50/runnables/commands/MctopCommandDisplayTask.java +++ b/src/main/java/com/gmail/nossr50/runnables/commands/MctopCommandDisplayTask.java @@ -35,7 +35,7 @@ public class MctopCommandDisplayTask extends BukkitRunnable { int place = (page * 10) - 9; for (PlayerStat stat : userStats) { - String digit = (place < 10) ? "0" : "" + String.valueOf(place); + String digit = ((place < 10) ? "0" : "") + String.valueOf(place); // Format: 1. Playername - skill value sender.sendMessage(digit + ". " + ChatColor.GREEN + stat.name + " - " + ChatColor.WHITE + stat.statVal);