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

View File

@ -619,8 +619,9 @@ public class SpeedBuilders extends SoloGame
Bukkit.getServer().getPluginManager().callEvent(perfectBuildEvent);
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());