a couple more prettificatons to pvp timer messages.

This commit is contained in:
NewGarbo 2015-12-16 23:19:04 +00:00
parent eb9ba92fb1
commit b4c3ce9fba

View File

@ -138,7 +138,7 @@ public class PvpTimer extends MiniClientPlugin<PvpTimerClient>
Bukkit.getScheduler().scheduleSyncDelayedTask(getPlugin(), new Runnable() {
public void run()
{
UtilTextMiddle.display(C.cGold + "PvP Safety", "will end in " + UtilTime.MakeStr(getPvPTimerLeft(player) * 1000), 40, 70, 40, player);
UtilTextMiddle.display(C.cGreen + "PvP Safety", C.cGray + "will end in " + UtilTime.MakeStr(getPvPTimerLeft(player) * 1000), 40, 70, 40, player);
}
}, 10);
@ -173,7 +173,7 @@ public class PvpTimer extends MiniClientPlugin<PvpTimerClient>
if (time <= unit && !client.InformedTimes.contains(unit))
{
UtilPlayer.message(player, F.main("Clans", "PvP Safety will end in " + F.time(UtilTime.MakeStr(unit * 1000))));
UtilTextMiddle.display("Pvp Safety", "ending in " + UtilTime.MakeStr(unit * 1000), 20, 80, 20, player);
UtilTextMiddle.display(C.cGreen + "Pvp Safety", C.cGray + "ending in " + UtilTime.MakeStr(unit * 1000), 20, 80, 20, player);
client.InformedTimes.add(unit);
}
}