Show event panel when event is active.
This commit is contained in:
parent
1c93559651
commit
0475e83440
@ -251,7 +251,10 @@ public final class LoversJubilee extends LongTimeEvent
|
||||
@RegisterType(ListenerRegisterType.GLOBAL_PLAYERS)
|
||||
public void onPlayerLogin(OnPlayerLogin event)
|
||||
{
|
||||
event.getActiveChar().sendPacket(new ExBrBroadcastEventState(ExBrBroadcastEventState.LOVERS_JUBILEE, 1));
|
||||
if (isActive())
|
||||
{
|
||||
event.getActiveChar().sendPacket(new ExBrBroadcastEventState(ExBrBroadcastEventState.LOVERS_JUBILEE, 1));
|
||||
}
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
|
@ -251,7 +251,10 @@ public final class LoversJubilee extends LongTimeEvent
|
||||
@RegisterType(ListenerRegisterType.GLOBAL_PLAYERS)
|
||||
public void onPlayerLogin(OnPlayerLogin event)
|
||||
{
|
||||
event.getActiveChar().sendPacket(new ExBrBroadcastEventState(ExBrBroadcastEventState.LOVERS_JUBILEE, 1));
|
||||
if (isActive())
|
||||
{
|
||||
event.getActiveChar().sendPacket(new ExBrBroadcastEventState(ExBrBroadcastEventState.LOVERS_JUBILEE, 1));
|
||||
}
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
|
@ -251,7 +251,10 @@ public final class LoversJubilee extends LongTimeEvent
|
||||
@RegisterType(ListenerRegisterType.GLOBAL_PLAYERS)
|
||||
public void onPlayerLogin(OnPlayerLogin event)
|
||||
{
|
||||
event.getActiveChar().sendPacket(new ExBrBroadcastEventState(ExBrBroadcastEventState.LOVERS_JUBILEE, 1));
|
||||
if (isActive())
|
||||
{
|
||||
event.getActiveChar().sendPacket(new ExBrBroadcastEventState(ExBrBroadcastEventState.LOVERS_JUBILEE, 1));
|
||||
}
|
||||
}
|
||||
|
||||
public static void main(String[] args)
|
||||
|
Loading…
Reference in New Issue
Block a user