Add time to perfect build message
This commit is contained in:
parent
02b45bd302
commit
b2e4dff9e5
@ -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());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user