Add time to perfect build message

This commit is contained in:
Shaun Bennett 2016-01-22 19:18:23 -05:00
parent 02b45bd302
commit b2e4dff9e5
1 changed files with 3 additions and 2 deletions

View File

@ -620,7 +620,8 @@ public class SpeedBuilders extends SoloGame
player.playSound(player.getEyeLocation(), Sound.LEVEL_UP, 10F, 1F);
Announce(F.main("Build", F.name(player.getName()) + " got a perfect build!"));
String time = UtilTime.convertString(timeElapsed, 1, UtilTime.TimeUnit.SECONDS);
Announce(F.main("Build", F.name(player.getName()) + " got a perfect build in " + F.time(time) + "!"));
_perfectBuild.put(player, System.currentTimeMillis());