Advertisement
Guest User

Devlin

a guest
Aug 13th, 2014
448
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.20 KB | None | 0 0
  1. /*
  2.  * This program is free software: you can redistribute it and/or modify it under
  3.  * the terms of the GNU General Public License as published by the Free Software
  4.  * Foundation, either version 3 of the License, or (at your option) any later
  5.  * version.
  6.  *
  7.  * This program is distributed in the hope that it will be useful, but WITHOUT
  8.  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
  9.  * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
  10.  * details.
  11.  *
  12.  * You should have received a copy of the GNU General Public License along with
  13.  * this program. If not, see <http://www.gnu.org/licenses/>.
  14.  */
  15. package net.sf.l2j.gameserver.model.actor.instance;
  16.  
  17. import net.sf.l2j.gameserver.communitybbs.Manager.BaseBBSManager;
  18. import net.sf.l2j.gameserver.model.actor.template.NpcTemplate;
  19.  
  20. /**
  21.  * @author Devlin
  22.  *
  23.  */
  24. public class L2CbManagerInstance extends L2NpcInstance
  25. {
  26.     public L2CbManagerInstance(int objectId, NpcTemplate template)
  27.     {
  28.         super(objectId, template);
  29.     }
  30.    
  31.     @Override
  32.     public void showChatWindow(L2PcInstance player)
  33.     {
  34.         String html = "data/html/CommunityBoard/index.htm";
  35.         BaseBBSManager.separateAndSend(html, player);
  36.     }
  37. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement