PC-18 - Remove PVP Safety Message in Tutorial
This commit is contained in:
parent
3d0d7f9d71
commit
f8211f26cc
|
@ -222,8 +222,13 @@ public class PvpTimer extends MiniClientPlugin<PvpTimerClient>
|
||||||
{
|
{
|
||||||
if (time <= unit && !client.InformedTimes.contains(Integer.valueOf(unit)))
|
if (time <= unit && !client.InformedTimes.contains(Integer.valueOf(unit)))
|
||||||
{
|
{
|
||||||
|
if (!_clansManager.getTutorials().isInTutorial(player))
|
||||||
|
{
|
||||||
|
// Only inform if not in tutorial.
|
||||||
UtilPlayer.message(player, F.main("Clans", "PvP Safety will end in " + F.time(UtilTime.MakeStr(unit * 1000))));
|
UtilPlayer.message(player, F.main("Clans", "PvP Safety will end in " + F.time(UtilTime.MakeStr(unit * 1000))));
|
||||||
UtilTextMiddle.display(C.cGreen + "Pvp Safety", C.cGray + "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(Integer.valueOf(unit));
|
client.InformedTimes.add(Integer.valueOf(unit));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue