mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-07 16:49:07 +00:00
init, thx MrExtremez
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
package redone.net.packets.impl;
|
||||
|
||||
import redone.Server;
|
||||
import redone.game.players.Client;
|
||||
import redone.net.packets.PacketType;
|
||||
import redone.util.Misc;
|
||||
|
||||
/**
|
||||
* Chat
|
||||
**/
|
||||
public class ClanChat implements PacketType {
|
||||
|
||||
@Override
|
||||
public void processPacket(Client c, int packetType, int packetSize) {
|
||||
String textSent = Misc.longToPlayerName2(c.getInStream().readQWord());
|
||||
textSent = textSent.replaceAll("_", " ");
|
||||
// c.sendMessage(textSent);
|
||||
Server.clanChat.handleClanChat(c, textSent);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user