Guest User

Untitled

a guest
Jan 21st, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. public final class PetChatHandler extends AbstractMaplePacketHandler {
  2. public final void handlePacket(SeekableLittleEndianAccessor slea, MapleClient c) {
  3. int petId = slea.readInt();
  4. slea.readInt();
  5. slea.readByte();
  6. int act = slea.readByte();
  7. String text = slea.readMapleAsciiString();
  8. c.getPlayer().getMap().broadcastMessage(c.getPlayer(), MaplePacketCreator.petChat(c.getPlayer().getId(), c.getPlayer().getPetIndex(petId), act, text), true);
  9. }
  10. }
Add Comment
Please, Sign In to add comment