Show event panel when event is active.
This commit is contained in:
		| @@ -250,9 +250,12 @@ public final class LoversJubilee extends LongTimeEvent | ||||
| 	@RegisterEvent(EventType.ON_PLAYER_LOGIN) | ||||
| 	@RegisterType(ListenerRegisterType.GLOBAL_PLAYERS) | ||||
| 	public void onPlayerLogin(OnPlayerLogin event) | ||||
| 	{ | ||||
| 		if (isActive()) | ||||
| 		{ | ||||
| 			event.getActiveChar().sendPacket(new ExBrBroadcastEventState(ExBrBroadcastEventState.LOVERS_JUBILEE, 1)); | ||||
| 		} | ||||
| 	} | ||||
| 	 | ||||
| 	public static void main(String[] args) | ||||
| 	{ | ||||
|   | ||||
| @@ -250,9 +250,12 @@ public final class LoversJubilee extends LongTimeEvent | ||||
| 	@RegisterEvent(EventType.ON_PLAYER_LOGIN) | ||||
| 	@RegisterType(ListenerRegisterType.GLOBAL_PLAYERS) | ||||
| 	public void onPlayerLogin(OnPlayerLogin event) | ||||
| 	{ | ||||
| 		if (isActive()) | ||||
| 		{ | ||||
| 			event.getActiveChar().sendPacket(new ExBrBroadcastEventState(ExBrBroadcastEventState.LOVERS_JUBILEE, 1)); | ||||
| 		} | ||||
| 	} | ||||
| 	 | ||||
| 	public static void main(String[] args) | ||||
| 	{ | ||||
|   | ||||
| @@ -250,9 +250,12 @@ public final class LoversJubilee extends LongTimeEvent | ||||
| 	@RegisterEvent(EventType.ON_PLAYER_LOGIN) | ||||
| 	@RegisterType(ListenerRegisterType.GLOBAL_PLAYERS) | ||||
| 	public void onPlayerLogin(OnPlayerLogin event) | ||||
| 	{ | ||||
| 		if (isActive()) | ||||
| 		{ | ||||
| 			event.getActiveChar().sendPacket(new ExBrBroadcastEventState(ExBrBroadcastEventState.LOVERS_JUBILEE, 1)); | ||||
| 		} | ||||
| 	} | ||||
| 	 | ||||
| 	public static void main(String[] args) | ||||
| 	{ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 MobiusDev
					MobiusDev