xRelic

Color Siege announce system L2JFrozen

Jul 9th, 2021
445
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. ### Eclipse Workspace Patch 1.0
  2. #P trunk
  3. Index: L2Jfrozen_GameServer/head-src/com/l2jfrozen/gameserver/model/entity/siege/Siege.java
  4. ===================================================================
  5. --- L2Jfrozen_GameServer/head-src/com/l2jfrozen/gameserver/model/entity/siege/Siege (revision 25)
  6. +++ L2Jfrozen_GameServer/head-src/com/l2jfrozen/gameserver/model/entity/siege/Siege (working copy)
  7. @@ -48,7 +48,9 @@
  8. import com.l2jfrozen.gameserver.model.actor.instance.L2ArtefactInstance;
  9. import com.l2jfrozen.gameserver.model.actor.instance.L2ControlTowerInstance;
  10. import com.l2jfrozen.gameserver.model.actor.instance.L2NpcInstance;
  11. import com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance;
  12. +import com.l2jfrozen.gameserver.network.clientpackets.Say2;
  13. import com.l2jfrozen.gameserver.model.entity.Announcements;
  14. import com.l2jfrozen.gameserver.model.spawn.L2Spawn;
  15. import com.l2jfrozen.gameserver.network.SystemMessageId;
  16. +import com.l2jfrozen.gameserver.network.serverpackets.CreatureSay;
  17.  
  18. @@ -469,7 +471,8 @@
  19. // Get all players
  20. for (L2PcInstance player : L2World.getInstance().getAllPlayers())
  21. {
  22. - player.sendMessage(message);
  23. + CreatureSay na = new CreatureSay(0, Say2.HERO_VOICE,"Siege System",(message));
  24. + player.sendPacket(na);
  25. }
  26. }
Advertisement
Add Comment
Please, Sign In to add comment