Add time to perfect build message
This commit is contained in:
parent
02b45bd302
commit
b2e4dff9e5
@ -620,7 +620,8 @@ public class SpeedBuilders extends SoloGame
|
|||||||
|
|
||||||
player.playSound(player.getEyeLocation(), Sound.LEVEL_UP, 10F, 1F);
|
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());
|
_perfectBuild.put(player, System.currentTimeMillis());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user