public static byte[] craftMessage(String msg, Item item) {
        MaplePacketLittleEndianWriter p = new MaplePacketLittleEndianWriter();

        p.writeShort(SendPacketOpcode.SERVERMESSAGE.getValue());
        p.write(22);
        p.writeMapleAsciiString(msg);
        if (item != null) {
            PacketHelper.addItemInfo(p, item);
        }
        return p.getPacket();
    }