Show event panel when event is active.
This commit is contained in:
@@ -251,7 +251,10 @@ public final class LoversJubilee extends LongTimeEvent
|
|||||||
@RegisterType(ListenerRegisterType.GLOBAL_PLAYERS)
|
@RegisterType(ListenerRegisterType.GLOBAL_PLAYERS)
|
||||||
public void onPlayerLogin(OnPlayerLogin event)
|
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)
|
public static void main(String[] args)
|
||||||
|
|||||||
@@ -251,7 +251,10 @@ public final class LoversJubilee extends LongTimeEvent
|
|||||||
@RegisterType(ListenerRegisterType.GLOBAL_PLAYERS)
|
@RegisterType(ListenerRegisterType.GLOBAL_PLAYERS)
|
||||||
public void onPlayerLogin(OnPlayerLogin event)
|
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)
|
public static void main(String[] args)
|
||||||
|
|||||||
@@ -251,7 +251,10 @@ public final class LoversJubilee extends LongTimeEvent
|
|||||||
@RegisterType(ListenerRegisterType.GLOBAL_PLAYERS)
|
@RegisterType(ListenerRegisterType.GLOBAL_PLAYERS)
|
||||||
public void onPlayerLogin(OnPlayerLogin event)
|
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)
|
public static void main(String[] args)
|
||||||
|
|||||||
Reference in New Issue
Block a user