Sync with L2JServer Jan 24th 2015.
This commit is contained in:
@ -22,7 +22,7 @@ import java.io.PrintWriter;
|
||||
import java.net.Socket;
|
||||
import java.util.StringTokenizer;
|
||||
|
||||
import com.l2jserver.gameserver.datatables.AdminTable;
|
||||
import com.l2jserver.gameserver.data.xml.impl.AdminData;
|
||||
import com.l2jserver.gameserver.handler.ITelnetHandler;
|
||||
import com.l2jserver.gameserver.model.L2World;
|
||||
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
|
||||
@ -90,7 +90,7 @@ public class ChatsHandler implements ITelnetHandler
|
||||
{
|
||||
command = command.substring(7);
|
||||
CreatureSay cs = new CreatureSay(0, Say2.ALLIANCE, "Telnet GM Broadcast from " + _cSocket.getInetAddress().getHostAddress(), command);
|
||||
AdminTable.getInstance().broadcastToGMs(cs);
|
||||
AdminData.getInstance().broadcastToGMs(cs);
|
||||
_print.println("Your Message Has Been Sent To " + getOnlineGMS() + " GM(s).");
|
||||
}
|
||||
catch (StringIndexOutOfBoundsException e)
|
||||
@ -103,7 +103,7 @@ public class ChatsHandler implements ITelnetHandler
|
||||
|
||||
private int getOnlineGMS()
|
||||
{
|
||||
return AdminTable.getInstance().getAllGms(true).size();
|
||||
return AdminData.getInstance().getAllGms(true).size();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user